TF-439 Implement get firebase subscription
This commit is contained in:
@@ -24,4 +24,12 @@ bool canBack(BuildContext context) {
|
||||
|
||||
BuildContext? get currentContext => Get.context;
|
||||
|
||||
BuildContext? get currentOverlayContext => Get.overlayContext;
|
||||
BuildContext? get currentOverlayContext => Get.overlayContext;
|
||||
|
||||
T? getBinding<T>() {
|
||||
if (Get.isRegistered<T>()) {
|
||||
return Get.find<T>();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user