ThemeContext extension
Contains extensions for easier access to Theme and NavigatorState using BuildContext
- on
Properties
- accentColor → Color
-
The foreground color for widgets (knobs, text, overscroll edge effect, etc).
no setter
- backgroundColor → Color
-
A color that contrasts with the primaryColor.
no setter
- canvasColor → Color
-
The default color of MaterialType.canvas Material.
no setter
- primaryColor → Color
-
The background color for major parts of the app (toolbars, tab bars, etc).
no setter
- textTheme → TextTheme
-
Material design text theme.
no setter
- theme → ThemeData
-
The data from the closest Theme instance that encloses the given
context.
no setter