CollapsibleTheme class
Styling options for Collapsible, CollapsibleTrigger.
Constructors
- CollapsibleTheme({double? padding, IconData? iconExpanded, IconData? iconCollapsed, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, double? iconGap})
-
Styling options for Collapsible, CollapsibleTrigger.
const
Properties
- crossAxisAlignment → CrossAxisAlignment?
-
The alignment of the children along the cross axis in the Collapsible.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconCollapsed → IconData?
-
Icon to display in the CollapsibleTrigger when the Collapsible is collapsed.
final
- iconExpanded → IconData?
-
Icon to display in the CollapsibleTrigger when the Collapsible is expanded.
final
- iconGap → double?
-
The gap between the icon and the label in the CollapsibleTrigger.
final
- mainAxisAlignment → MainAxisAlignment?
-
The alignment of the children along the main axis in the Collapsible.
final
- padding → double?
-
Padding around the CollapsibleTrigger.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? padding, IconData? iconExpanded, IconData? iconCollapsed, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, double? iconGap}) → CollapsibleTheme - Creates a copy of this CollapsibleTheme with the given fields replaced.
-
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.
override