repair back button
This commit is contained in:
1 parent
696c52efeb
commit
6c5bfde828
29 files changed
+956
-845
No files matched your search
@@ -3,8 +3,10 @@ import 'package:flutter/services.dart';
|
||||
import 'package:stacked/stacked.dart';
|
||||
import 'package:stacked_services/stacked_services.dart';
|
||||
|
||||
import '../../services/global_var.dart';
|
||||
import '../../services/http_services.dart';
|
||||
import '../../services/my_easyloading.dart';
|
||||
import '../../services/other_function.dart';
|
||||
import '../app.locator.dart';
|
||||
import '../themes/app_colors.dart';
|
||||
|
||||
@@ -15,6 +17,8 @@ class CustomBaseViewModel extends BaseViewModel {
|
||||
final snackbarService = locator<SnackbarService>();
|
||||
final easyLoading = locator<MyEasyLoading>();
|
||||
final httpService = locator<MyHttpServices>();
|
||||
final otherFunction = locator<OtherFunction>();
|
||||
final globalVar = locator<GlobalVar>();
|
||||
|
||||
// late bool backPressed;
|
||||
|
||||
|
||||
Reference in new issue
Block a user