FSidebarGroupStyle class
The style for a FSidebarGroup.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
FSidebarGroupStyle.new({required TextStyle labelStyle, required FWidgetStateMap<
IconThemeData> actionStyle, required FTappableStyle tappableStyle, required FFocusedOutlineStyle focusedOutlineStyle, required FSidebarItemStyle itemStyle, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16), double headerSpacing = 8, EdgeInsetsGeometry headerPadding = const EdgeInsets.fromLTRB(12, 0, 8, 2), double childrenSpacing = 2, EdgeInsetsGeometry childrenPadding = const EdgeInsets.fromLTRB(0, 0, 0, 24)}) -
Creates a FSidebarGroupStyle.
const
- FSidebarGroupStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
- Creates a FSidebarGroupStyle that inherits its properties.
Properties
-
actionStyle
→ FWidgetStateMap<
IconThemeData> -
The action's style.
final
- childrenPadding → EdgeInsetsGeometry
-
The padding around the children. Defaults to
EdgeInsets.fromLTRB(0, 0, 0, 24)
.final - childrenSpacing → double
-
The spacing between children. Defaults to 2.
final
- focusedOutlineStyle → FFocusedOutlineStyle
-
The focused outline style.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerPadding → EdgeInsetsGeometry
-
The padding around the header. Defaults to
EdgeInsets.fromLTRB(12, 0, 8, 2)
.final - headerSpacing → double
-
The spacing between the label and action in the header. Defaults to 8.
final
- itemStyle → FSidebarItemStyle
-
The item's style.
final
- labelStyle → TextStyle
-
The label's text style.
final
- padding → EdgeInsets
-
The padding. Defaults to
EdgeInsets.symmetric(horizontal: 16)
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tappableStyle → FTappableStyle
-
The tappable action's style.
final
Methods
-
copyWith(
{EdgeInsets? padding, double? headerSpacing, EdgeInsetsGeometry? headerPadding, TextStyle? labelStyle, FWidgetStateMap< IconThemeData> ? actionStyle, double? childrenSpacing, EdgeInsetsGeometry? childrenPadding, FTappableStyle? tappableStyle, FFocusedOutlineStyle? focusedOutlineStyle, FSidebarItemStyle? itemStyle}) → FSidebarGroupStyle -
Returns a copy of this FSidebarGroupStyle 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 thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited