ComponentThemeBuilder class

Material 3 theme builder with custom component themes

Inheritance

Constructors

ComponentThemeBuilder({required Material3ThemeBuilder baseBuilder, AppBarTheme? appBarTheme, CardThemeData? cardTheme, ElevatedButtonThemeData? elevatedButtonTheme, TextButtonThemeData? textButtonTheme, OutlinedButtonThemeData? outlinedButtonTheme, InputDecorationTheme? inputDecorationTheme, BottomNavigationBarThemeData? bottomNavigationBarTheme, FloatingActionButtonThemeData? floatingActionButtonTheme})
const

Properties

appBarTheme → AppBarTheme?
final
baseBuilder → Material3ThemeBuilder
final
bottomNavigationBarTheme → BottomNavigationBarThemeData?
final
cardTheme → CardThemeData?
final
elevatedButtonTheme → ElevatedButtonThemeData?
final
floatingActionButtonTheme → FloatingActionButtonThemeData?
final
hashCode → int
The hash code for this object.
no setterinherited
inputDecorationTheme → InputDecorationTheme?
final
outlinedButtonTheme → OutlinedButtonThemeData?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textButtonTheme → TextButtonThemeData?
final

Methods

buildDarkTheme() → ThemeData
Build a dark theme
override
buildLightTheme() → ThemeData
Build a light theme
override
buildTheme(Brightness brightness) → ThemeData
Build a theme with custom brightness
override
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