Jonatas

update to 3.25.5

## [3.25.5]
- Fix Get.isDialogOpen when two or more open dialogs are closed
## [3.25.4]
- Added logs and tests to unknownRoute
... ...
... ... @@ -1092,7 +1092,13 @@ Since version 2.8 it is possible to access the properties
BuildContext get context => key?.currentContext;
/// give access to current Overlay Context
BuildContext get overlayContext => key?.currentState?.overlay?.context;
BuildContext get overlayContext {
BuildContext overlay;
key?.currentState?.overlay?.context?.visitChildElements((element) {
overlay = element;
});
return overlay;
}
/// give access to Theme.of(context)
ThemeData get theme {
... ...
... ... @@ -156,12 +156,13 @@ class GetObserver extends NavigatorObserver {
value.isBack = true;
value.removed = '';
value.previous = newRoute.name ?? '';
value.isSnackbar = currentRoute.isSnackbar ? false : value.isSnackbar;
value.isBottomSheet =
currentRoute.isBottomSheet ? false : value.isBottomSheet;
value.isDialog = currentRoute.isDialog ? false : value.isDialog;
value.isSnackbar = newRoute.isSnackbar;
value.isBottomSheet = newRoute.isBottomSheet;
value.isDialog = newRoute.isDialog;
});
print('currentRoute.isDialog ${currentRoute.isDialog}');
routing?.call(_routeSend);
}
... ...
name: get
description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version: 3.25.4
version: 3.25.5
homepage: https://github.com/jonataslaw/getx
environment:
... ...