theme property

MaterialTheme theme
getter/setter pair

The theme Theme.of(context) resolves to at the current point in the tree. The compiler swaps it inside Theme widgets.

Implementation

MaterialTheme theme;