BuildContextExtensions extension Misc Utils
- on
Properties
- brightness → Brightness
-
no setter
- colorScheme → ColorScheme
-
Theme color scheme
no setter
- directionality → TextDirection
-
Directionality of context
no setter
- isDarkMode → bool
-
Check if brightness is Brightness.dark
no setter
- isLandscape → bool
-
Is device in landscape mode.
no setter
- isPortrait → bool
-
Is device in portrait mode.
no setter
- mq → MediaQueryData
-
MediaQueryData for context
no setter
- orientation → Orientation
-
Orientation of the device
no setter
- screenHeight → double
-
Screen height
no setter
- screenWidth → double
-
Screen width
no setter
- textAttributes → TextAttributes?
-
Text attributes of parent
no setter
- textTheme → TextTheme
-
Theme text theme
no setter
- theme → ThemeData
-
Theme context helpers
no setter
- tt → TextTheme
-
no setter
Methods
-
defaultTextStyle(
) → TextStyle - Default TextStyle