FoldableRegionTheme class

Constructors

FoldableRegionTheme({Duration animationDuration = const Duration(milliseconds: 300), Alignment contentAlignment = Alignment.bottomLeft, double headerHeight = 24.0, double foldedHeaderOpacity = 0.75, Color headerColor = const Color.fromRGBO(70, 79, 90, 1.0), Color chevronIconColor = Colors.white, double chevronIconSize = 18.0, TextStyle headingStyle = const TextStyle(color: Colors.white, fontSize: 12.0, fontWeight: FontWeight.w700), TextOverflow headingOverflow = TextOverflow.ellipsis, double indentationAmount = 12.0})
const

Properties

animationDuration Duration
The animation duration of foldable regions.
final
chevronIconColor Color
The color of a foldable region's chevron icon.
final
chevronIconSize double
The size of a foldable region's chevron icon.
final
contentAlignment Alignment
The alignment of a foldable region's content during the fold/unfold animation.
final
foldedHeaderOpacity double
The opacity of a foldable region's header when it is folded.
final
hashCode int
The hash code for this object.
no setterinherited
headerColor Color
A foldable region's header color.
final
headerHeight double
The height of a foldable region's header.
final
headingOverflow TextOverflow
The foldable region's header's overflow.
final
headingStyle TextStyle
The text style of a foldable region's heading.
final
indentationAmount double
The indentation amount in foldable regions.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
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