repair back button
This commit is contained in:
@ -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