BuildContextExtensions extension

Shortcuts to access the ambient theme from a BuildContext.

on

Properties

colorScheme → ColorScheme

Available on BuildContext, provided by the BuildContextExtensions extension

The ColorScheme of the nearest Theme ancestor.
no setter
textTheme → TextTheme

Available on BuildContext, provided by the BuildContextExtensions extension

The TextTheme of the nearest Theme ancestor.
no setter
theme → ThemeData

Available on BuildContext, provided by the BuildContextExtensions extension

The ThemeData of the nearest Theme ancestor.
no setter