FAccordionStyle class

The FAccordion's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FAccordionStyle.new({required FWidgetStateMap<TextStyle> titleTextStyle, required TextStyle childTextStyle, required FWidgetStateMap<IconThemeData> iconStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FDividerStyle dividerStyle, required FTappableStyle tappableStyle, EdgeInsetsGeometry titlePadding = const EdgeInsets.symmetric(vertical: 15), EdgeInsetsGeometry childPadding = const EdgeInsets.only(bottom: 15), Duration animationDuration = const Duration(milliseconds: 200)})
Creates a FAccordionStyle.
const
FAccordionStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
Creates a FDividerStyles that inherits its properties.

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
iconStyle FWidgetStateMap<IconThemeData>
The icon's style.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tappableStyle FTappableStyle
The tappable's style.
final
titlePadding EdgeInsetsGeometry
The padding around the title. Defaults to EdgeInsets.symmetric(vertical: 15).
final
titleTextStyle FWidgetStateMap<TextStyle>
The title's text style.
final

Methods

copyWith({FWidgetStateMap<TextStyle>? titleTextStyle, TextStyle? childTextStyle, EdgeInsetsGeometry? titlePadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<IconThemeData>? iconStyle, FFocusedOutlineStyle? focusedOutlineStyle, FDividerStyle? dividerStyle, Duration? animationDuration, FTappableStyle? tappableStyle}) 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