1.1.0
1.1.0
Added
BoolExtensions
toIntreturns1if this boolean istrue, and0if this boolean isfalse.toOnOffreturns'on'if this boolean istrue, and'off'if this boolean isfalse.toYesNoreturns'yes'if this boolean istrue, and'no'if this boolean isfalse.toEnabledDisabledreturns'enabled'if this boolean istrue, and'disabled'if this boolean isfalse.whenTrueexecutes [action] if this boolean istrue.whenFalseexecutes [action] if this boolean isfalse.
BuildContextExtensions
themegets the current ThemeData.textThemegets the current TextTheme.colorSchemegets the current ColorScheme.isRTLgets if the current directionality is right-to-left.isLTRgets if the current directionality is left-to-right.topPaddingreturns the top padding of the app bar.bottomPaddingreturns the bottom padding of the navigation bar.devicePixelRatiogets the device pixel ratio.isTabletgets if the device is tablet-sized (shortestSide ≥ 600).poppops the current route off the navigator stack.pushpushes a new page with MaterialPageRoute.pushNamedpushes a new page with MaterialPageRoute and the given name.brightnessgets the current brightness independent of the theme.isHighContrastgets if device accessibility high contrast is enabled.isScreenSmallgets if width < 360px (useful for responsive).widgetSizegets the size of the widget tied to this context.widgetPositiongets the global position of the widget.
Full Changelog: 1.0.1...1.1.0