contextions 0.2.0 copy "contextions: ^0.2.0" to clipboard
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. Use replace instead.

[0.1.0] - 2024-06-30 #

Added #

  • to: A new method that replaces navigateTo.

Deprecated #

  • navigateTo: This method is now deprecated and will be removed in a future version. Use to instead.

0.0.1 #

  • Added the basic features
9
likes
150
points
39
downloads

Publisher

verified publishersamfan.dev

Weekly Downloads

A Flutter package that adds extension methods on BuildContext for easy access to Navigator, Theme, and MediaQuery functions.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on contextions