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.

19 lines
689 B

2 years ago
// import 'package:project_telephony/providers/phone_provider.dart';
2 years ago
import 'package:provider/provider.dart';
2 years ago
import '../providers/phone_num_provider.dart';
2 years ago
import '../providers/user_provider.dart';
import 'headers.dart';
class UserTool {
static UserProvider userProvider =
Provider.of<UserProvider>(Get.context!, listen: false);
2 years ago
static PhoneNumProvider phoneNumProvider =
Provider.of<PhoneNumProvider>(Get.context!, listen: false);
// static PhoneProvider phoneProvider=Provider.of<PhoneProvider>(Get.context!, listen: false);
2 years ago
}
//
// class PhoneTool {
// static PhoneNumProvider phoneNumProvider =
// Provider.of<PhoneNumProvider>(Get.context!, listen: false);
// }