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), FAccordionMotion motion = const FAccordionMotion()}) -
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
- 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
- motion → FAccordionMotion
-
The motion-related properties.
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, FFocusedOutlineStyle focusedOutlineStyle(FFocusedOutlineStyle style)?, FDividerStyle dividerStyle(FDividerStyle style)?, FTappableStyle tappableStyle(FTappableStyle style)?, FAccordionMotion motion(FAccordionMotion motion)?}) → FAccordionStyle -
Available on FAccordionStyle, provided by the $FAccordionStyleTransformations extension
Returns a copy of this FAccordionStyle with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
FAccordionStyle other, double t) → FAccordionStyle -
Available on FAccordionStyle, provided by the $FAccordionStyleTransformations extension
Linearly interpolate between this and another FAccordionStyle using the given factort
. -
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