diff --git a/lib/providers/user_provider.dart b/lib/providers/user_provider.dart index d03134d..ecc8482 100644 --- a/lib/providers/user_provider.dart +++ b/lib/providers/user_provider.dart @@ -15,9 +15,7 @@ import '../utils/toast/cloud_toast.dart'; class UserProvider extends ChangeNotifier { bool _isLogin = false; bool _kg = false; - bool get kg => _kg; - bool get isLogin => _isLogin; late UserInfoModel _userInfo; diff --git a/lib/ui/widget/appdialog.dart b/lib/ui/widget/appdialog.dart index 0f1aca8..fad74e8 100644 --- a/lib/ui/widget/appdialog.dart +++ b/lib/ui/widget/appdialog.dart @@ -61,6 +61,9 @@ class AppDialog extends Dialog { } } + + + _getBotton(String bContent, context) { return GestureDetector( onTap: () async {