FAccordionStyle class
The FAccordion's style.
- 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 expandDuration = const Duration(milliseconds: 200), Curve expandCurve = Curves.easeOutCubic, Duration collapseDuration = const Duration(milliseconds: 150), Curve collapseCurve = Curves.easeInCubic}) -
Creates a FAccordionStyle.
const
- FAccordionStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
- Creates a FDividerStyles that inherits its properties.
Properties
- childPadding → EdgeInsetsGeometry
-
The padding around the content. Defaults to
EdgeInsets.only(bottom: 15)
.final - childTextStyle → TextStyle
-
The child's default text style.
final
- collapseCurve → Curve
-
The collapse animation's curve. Defaults to Curves.easeInCubic.
final
- collapseDuration → Duration
-
The collapse animation's duration. Defaults to 150ms.
final
- dividerStyle → FDividerStyle
-
The divider's color.
final
- expandCurve → Curve
-
The expand animation's curve. Defaults to Curves.easeOutCubic.
final
- expandDuration → Duration
-
The expand animation's duration. Defaults to 200ms.
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
-
call(
Object? _) → FAccordionStyle -
Returns itself.
inherited
-
copyWith(
{FWidgetStateMap< TextStyle> ? titleTextStyle, TextStyle? childTextStyle, EdgeInsetsGeometry? titlePadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<IconThemeData> ? iconStyle, Duration? expandDuration, Curve? expandCurve, Duration? collapseDuration, Curve? collapseCurve, FFocusedOutlineStyle focusedOutlineStyle(FFocusedOutlineStyle)?, FDividerStyle dividerStyle(FDividerStyle)?, FTappableStyle tappableStyle(FTappableStyle)?}) → FAccordionStyle -
Available on FAccordionStyle, provided by the $FAccordionStyleCopyWith extension
Returns a copy of this FAccordionStyle with the given properties replaced. -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited