contextions 0.2.0 contextions: ^0.2.0 copied to clipboard
A Flutter package that adds extension methods on BuildContext for easy access to Navigator, Theme, and MediaQuery functions.
[0.2.0] - 2024-07-06 #
Added #
replace
: A new method to navigate to a new page and replace the current page.showDialogX
: Method to show a dialog with the given widget as content.showModalBottomSheetX
: Method to show a modal bottom sheet.showBottomSheetX
: Method to show a bottom sheet with customizable properties.showSearchX
: Method to show search interface.showDialogXY
: Enhanced showDialog method with additional parameters for customization.isKeyboardVisible
: Property to check if the keyboard is visible.isLandscape
: Property to check if the screen is in landscape mode.isPortrait
: Property to check if the screen is in portrait mode.
Deprecated #
navigateAndReplace
: This method is now deprecated and will be removed in a future version. Usereplace
instead.
[0.1.0] - 2024-06-30 #
0.0.1 #
- Added the basic features