FAccordionStyle class final

The FAccordion's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FAccordionStyle.new({required TextStyle titleTextStyle, required TextStyle childTextStyle, required Color iconColor, required FFocusedOutlineStyle focusedOutlineStyle, required FDividerStyle dividerStyle, EdgeInsetsGeometry titlePadding = const EdgeInsets.symmetric(vertical: 15), EdgeInsetsGeometry childPadding = const EdgeInsets.only(bottom: 15), double iconSize = 20, Duration animationDuration = const Duration(milliseconds: 200)})
Creates a FAccordionStyle.
FAccordionStyle.inherit({required FColorScheme colorScheme, required FStyle style, 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 EdgeInsetsGeometry
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
focusedOutlineStyle FFocusedOutlineStyle
The focused outline style.
final
hashCode int
The hash code for this object.
no setterinherited
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 EdgeInsetsGeometry
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, EdgeInsetsGeometry? titlePadding, EdgeInsetsGeometry? childPadding, Color? iconColor, double? iconSize, FFocusedOutlineStyle? focusedOutlineStyle, FDividerStyle? dividerStyle, Duration? animationDuration}) FAccordionStyle
Returns a copy of this FAccordionStyle with the given properties replaced.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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
transform(T function(T)) → T

Available on T, provided by the FTransformables extension

Transform this T using the given function.

Operators

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