FAccordionStyle class final

The FAccordion's style.

Mixed-in types

Constructors

FAccordionStyle({required TextStyle titleTextStyle, required TextStyle childTextStyle, required Color iconColor, required FDividerStyle dividerStyle, EdgeInsets titlePadding = const EdgeInsets.symmetric(vertical: 15), EdgeInsets childPadding = const EdgeInsets.only(bottom: 15), double iconSize = 20, Duration animationDuration = const Duration(milliseconds: 200)})
Creates a FAccordionStyle.
FAccordionStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
Creates a FDividerStyles that inherits its properties from colorScheme.

Properties

animationDuration Duration
The expanding/collapsing animation duration. Defaults to 200ms.
final
childPadding EdgeInsets
The padding around the content. Defaults to EdgeInsets.only(bottom: 15).
final
childTextStyle TextStyle
The child's default text style.
final
dividerStyle FDividerStyle
The divider's color.
final
hashCode int
The hash code for this object.
no setteroverride
iconColor Color
The icon's color.
final
iconSize double
The icon's size. Defaults to 20.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titlePadding EdgeInsets
The padding around the title. Defaults to EdgeInsets.symmetric(vertical: 15).
final
titleTextStyle TextStyle
The title's default text style.
final

Methods

copyWith({TextStyle? titleTextStyle, TextStyle? childTextStyle, EdgeInsets? titlePadding, EdgeInsets? childPadding, Color? iconColor, double? iconSize, FDividerStyle? dividerStyle, Duration? animationDuration}) FAccordionStyle
Returns a copy of this FAccordionStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override