customer_making_provider.dart 589 Bytes
import 'package:flutter/material.dart';
import 'package:one_key/constant/state.dart';

class CustomerMakingProvider extends ChangeNotifier {
  String labels;
  List<String> selectCustomer = [];
  TextEditingController controller = TextEditingController();
  FromPage fromPage;
  int couponSelectIndex = 0;
  String youhui = '选择优惠';
  bool isUse = true; //营销加入优惠

  clearData() {
    labels = '';
    selectCustomer = [];
    controller.text = '';
    fromPage = null;
    couponSelectIndex = 0;
    youhui = '选择优惠';
    isUse = true; //营销加入优惠
  }
}