build_context 3.0.0
build_context: ^3.0.0 copied to clipboard

A package that simplifies the access most of used properties/fuctions right in the BuildContext.

[3.0.0] - 07/03/2021. #

  • Migrated to null safety
  • Migration to ScaffoldMessenger

Added support for:

  • context.platform

  • context.headline1

  • context.headline2

  • context.headline3

  • context.headline4

  • context.headline5

  • context.headline6

  • context.subtitle1

  • context.bodyText1

  • context.bodyText2

  • context.caption

  • context.button

  • context.subtitle2

  • context.overline

  • context.modalRoute

  • context.routeSettings

[2.0.4] - 18/07/2020. #

Added support for:

  • context.platform
  • context.isAndroid
  • context.isIOS
  • context.isWindows
  • context.isMacOS
  • context.isLinux
  • context.isFuchsia
  • context.closeKeyboard()

[2.0.2] - 09/06/2020. #

Added support for:

  • context.theme

[2.0.1] - 18/05/2020. #

  • context.pop() param value is now optional

[2.0.0] - 06/05/2020. #

This is a breaking change for users of the bellow functions:

  • context.pop() now returns void as the default function (Flutter 1.17.0)
  • context.unfocus() now receive [UnfocusDisposition] as optional argument (Flutter 1.17.0)

[1.1.1] - 05/05/2020. #

Reasons to removeCurrentSnackBar and hideCurrentSnackBar are now optional as in the default implementation

[1.1.0] - 23/04/2020. #

  • Added support for:

  • context.focusScope.hasFocus

  • context.focusScope.isFirstFocus

  • context.focusScope.canRequestFocus

  • context.focusScope.hasPrimaryFocus

  • context.focusScope.unfocus()
  • context.focusScope.nextFocus()
  • context.focusScope.requestFocus()
  • context.focusScope.previousFocus()
  • context.focusScope.setFirstFocus()
  • context.focusScope.consumeKeyboardToken()

[1.0.0] - 21/04/2020. #

Added support for:

  • context.mediaQueryShortestSide
  • context.isPhone
  • context.isTablet
  • context.isSmallTablet
  • context.isLargeTablet

[0.0.5] - 07/04/2020. #

  • Code format

[0.0.4] - 04/04/2020. #

Added support for:

  • context.form.validate()
  • context.form.reset()
  • context.form.save()

[0.0.3] - 04/03/2020. #

Added support for:

  • context.isLandscape
  • context.isPortrait
  • context.mediaQueryViewInsets
  • context.mediaQueryViewPadding

[0.0.2] - 04/03/2020. #

  • Fixed README.md format issue

[0.0.1] - 04/03/2020. #

Added support for the following classes:

  • MediaQuery
  • Theme
  • Navigator
  • Scaffold
110
likes
110
pub points
83%
popularity

Publisher

pedromassango.dev

A package that simplifies the access most of used properties/fuctions right in the BuildContext.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on build_context