UIExpansionThemeData class
- Inheritance
-
- Object
- ThemeExtension<
UIExpansionThemeData> - UIExpansionThemeData
- Implemented types
Constructors
- UIExpansionThemeData({double? contentSpacing, double? leadingSpacing, double? titleSpacing, Color? backgroundColor, Color? foregroundColor, TextStyle? titleStyle, TextStyle? subtitleStyle, UIIconThemeData? actionIcon})
-
const
- UIExpansionThemeData.config({double? contentSpacing = 12, double? leadingSpacing = 12, double? titleSpacing = 2, Color? backgroundColor = Colors.black12, Color? foregroundColor = Colors.black, TextStyle? titleStyle = const TextStyle(fontSize: 14), TextStyle? subtitleStyle = const TextStyle(fontSize: 16), UIIconThemeData? actionIcon = const UIIconThemeData(iconSize: 7.5, containerSize: 16)})
-
const
Properties
- actionIcon → UIIconThemeData?
-
final
- backgroundColor → Color?
-
final
- contentSpacing → double?
-
final
- foregroundColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leadingSpacing → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleStyle → TextStyle?
-
final
- titleSpacing → double?
-
final
- titleStyle → TextStyle?
-
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
) → ThemeExtension< UIExpansionThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< UIExpansionThemeData> ? other, double t) → ThemeExtension<UIExpansionThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
covariant UIExpansionThemeData? other) → UIExpansionThemeData -
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