You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// import 'package:project_telephony/providers/phone_provider.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
import '../providers/phone_num_provider.dart';
|
|
|
|
import '../providers/user_provider.dart';
|
|
|
|
import 'headers.dart';
|
|
|
|
|
|
|
|
class UserTool {
|
|
|
|
static UserProvider userProvider =
|
|
|
|
Provider.of<UserProvider>(Get.context!, listen: false);
|
|
|
|
static PhoneNumProvider phoneNumProvider =
|
|
|
|
Provider.of<PhoneNumProvider>(Get.context!, listen: false);
|
|
|
|
// static PhoneProvider phoneProvider=Provider.of<PhoneProvider>(Get.context!, listen: false);
|
|
|
|
}
|
|
|
|
//
|
|
|
|
// class PhoneTool {
|
|
|
|
// static PhoneNumProvider phoneNumProvider =
|
|
|
|
// Provider.of<PhoneNumProvider>(Get.context!, listen: false);
|
|
|
|
// }
|