maybeOf static method
- BuildContext context
The extension from the ambient ThemeData, if installed.
Implementation
static MorphTheme? maybeOf(BuildContext context) =>
Theme.of(context).extension<MorphTheme>();
The extension from the ambient ThemeData, if installed.
static MorphTheme? maybeOf(BuildContext context) =>
Theme.of(context).extension<MorphTheme>();