- 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
Added support for:
context.platform
context.isAndroid
context.isIOS
context.isWindows
context.isMacOS
context.isLinux
context.isFuchsia
context.closeKeyboard()
Added support for:
context.theme
context.pop()
param value is now optional
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)
Reasons to removeCurrentSnackBar and hideCurrentSnackBar are now optional as in the default implementation
-
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()
Added support for:
context.mediaQueryShortestSide
context.isPhone
context.isTablet
context.isSmallTablet
context.isLargeTablet
- Code format
Added support for:
context.form.validate()
context.form.reset()
context.form.save()
Added support for:
context.isLandscape
context.isPortrait
context.mediaQueryViewInsets
context.mediaQueryViewPadding
- Fixed README.md format issue
Added support for the following classes:
MediaQuery
Theme
Navigator
Scaffold