ExpressiveContext extension
Shortcuts for theme, token, media and adaptive lookups.
- on
Properties
- adaptiveSpacing → ExpressiveSpacingTokens
-
Available on BuildContext, provided by the ExpressiveContext extension
Spacing scale for the current device type (phone / tablet / desktop).no setter - brightness → Brightness
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - colors → ColorScheme
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - deviceType → ExpressiveDeviceType
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - isDark → bool
-
Available on BuildContext, provided by the ExpressiveContext extension
Whether the activeThemeis dark.no setter - isLandscape → bool
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - media → MediaQueryData
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - pixelRatio → double
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - platformBrightness → Brightness
-
Available on BuildContext, provided by the ExpressiveContext extension
The platform (system) brightness. May differ from isDark, which reflects the activeTheme.no setter - reduceMotion → bool
-
Available on BuildContext, provided by the ExpressiveContext extension
Whether the user asked the platform to reduce motion.no setter - safeArea → EdgeInsets
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - screenHeight → double
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - screenWidth → double
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - textTheme → TextTheme
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - theme → ThemeData
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - tokens → ExpressiveThemeData
-
Available on BuildContext, provided by the ExpressiveContext extension
The nearest ExpressiveThemeData (see ExpressiveTheme.of).no setter - viewInsets → EdgeInsets
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter - windowSizeClass → ExpressiveWindowSizeClass
-
Available on BuildContext, provided by the ExpressiveContext extension
no setter