TWidgetTheme class
- Annotations
Constructors
- TWidgetTheme({required MaterialColor color, required Color container, required Color containerVariant, required Color onContainer, required Color onContainerVariant, Color? outline, Color? outlineVariant, Color? shadow})
-
const
- TWidgetTheme.from(BuildContext context, Color color, TVariant type)
-
factory
Properties
-
backgroundState
→ WidgetStateProperty<
Color?> -
no setter
-
borderSideState
→ WidgetStateProperty<
BorderSide?> -
no setter
- boxBorder → BoxBorder?
-
no setter
-
boxShadow
→ List<
BoxShadow> ? -
no setter
- color → MaterialColor
-
final
- container → Color
-
final
- containerVariant → Color
-
final
-
foregroundState
→ WidgetStateProperty<
Color?> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onContainer → Color
-
final
- onContainerVariant → Color
-
final
- outline → Color?
-
final
- outlineVariant → Color?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → Color?
-
final
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