ShadCollapsibleTheme class
Theme for the ShadCollapsible widget.
- Annotations
-
- @themeGen
- @immutable
Constructors
- ShadCollapsibleTheme({bool canMerge = true, Duration? duration, Curve? curve, Duration? reverseDuration, Curve? reverseCurve, CrossAxisAlignment? crossAxisAlignment})
-
Theme for the
ShadCollapsiblewidget.const
Properties
- canMerge → bool
-
no setter
- crossAxisAlignment → CrossAxisAlignment?
-
How the trigger and content are aligned horizontally.
final
- curve → Curve?
-
The curve of the expand animation.
final
- duration → Duration?
-
The duration of the expand animation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reverseCurve → Curve?
-
The curve of the collapse animation, defaults to curve.
final
- reverseDuration → Duration?
-
The duration of the collapse animation, defaults to duration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Duration? duration, Curve? curve, Duration? reverseDuration, Curve? reverseCurve, CrossAxisAlignment? crossAxisAlignment}) → ShadCollapsibleTheme -
inherited
-
merge(
ShadCollapsibleTheme? other) → ShadCollapsibleTheme -
inherited
-
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
-
lerp(
ShadCollapsibleTheme? a, ShadCollapsibleTheme? b, double t) → ShadCollapsibleTheme? -
Linearly interpolates between
aandbbyt.