NyContext extension
- on
Properties
- isThemeDark → bool
-
Available on BuildContext, provided by the NyContext extension
Check if the device is in dark modeno setter
Methods
-
mediaQuery(
) → MediaQueryData -
Available on BuildContext, provided by the NyContext extension
Get the MediaQueryData -
pop<
T extends Object?> ({T? result}) → dynamic -
Available on BuildContext, provided by the NyContext extension
Pop the current page -
textTheme(
) → TextTheme -
Available on BuildContext, provided by the NyContext extension
Get the TextTheme -
widgetHeight(
) → double -
Available on BuildContext, provided by the NyContext extension
Get the height of the screen -
widgetWidth(
) → double -
Available on BuildContext, provided by the NyContext extension
Get the width of the screen