Material3ThemeUtils class
Utility class for creating common Material 3 themes
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createCustomTheme(
{required ColorScheme colorScheme, bool useMaterial3 = true}) → ThemeData - Create a theme with Material 3 enabled and custom color scheme
-
createDynamicTheme(
{required Brightness brightness, Color? fallbackSeedColor, bool useMaterial3 = true}) → ThemeData - Create a theme with Material 3 enabled and dynamic colors
-
createSeedTheme(
{required Color seedColor, required Brightness brightness, bool useMaterial3 = true}) → ThemeData - Create a theme with Material 3 enabled and seed color