TF-381 Navigation route ThreadView to EmailView on browser

This commit is contained in:
dab246
2022-03-21 15:25:49 +07:00
committed by Dat H. Pham
parent 3914f3ad65
commit f942041701
17 changed files with 220 additions and 170 deletions
+6 -1
View File
@@ -1,4 +1,5 @@
import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
Future<dynamic> push(String routeName, {dynamic arguments}) async {
@@ -15,4 +16,8 @@ Future<dynamic> pushAndPopAll(String routeName, {dynamic arguments}) async {
void popBack({dynamic result}) {
Get.back(result: result);
}
}
BuildContext? get currentContext => Get.context;
BuildContext? get currentOverlayContext => Get.overlayContext;