FSidebarStyle class
A FSidebar's style.
- Mixed-in types
- Available extensions
Constructors
- FSidebarStyle.new({required BoxDecoration decoration, required FSidebarGroupStyle groupStyle, BoxConstraints constraints = const BoxConstraints.tightFor(width: 250), ImageFilter? backgroundFilter, EdgeInsetsGeometry headerPadding = const EdgeInsets.fromLTRB(0, 16, 0, 0), EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 12), })
-
Creates a FSidebarStyle.
const
- FSidebarStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
- Creates a FSidebarStyle that inherits its properties.
Properties
- backgroundFilter → ImageFilter?
-
An optional background filter applied to the sidebar.
final
- constraints → BoxConstraints
-
The sidebar's width. Defaults to
BoxConstraints.tightFor(width: 250)
.final - contentPadding → EdgeInsetsGeometry
-
The padding for the content section. Defaults to
EdgeInsets.symmetric(vertical: 12)
.final - decoration → BoxDecoration
-
The decoration.
final
-
The padding for the footer section. Defaults to
EdgeInsets.fromLTRB(0, 0, 0, 16)
.final - groupStyle → FSidebarGroupStyle
-
The group's style.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerPadding → EdgeInsetsGeometry
-
The padding for the header section. Defaults to
EdgeInsets.fromLTRB(0, 16, 0, 0)
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Object? _) → FSidebarStyle -
Returns itself.
inherited
-
copyWith(
{BoxDecoration? decoration, ImageFilter? backgroundFilter, BoxConstraints? constraints, FSidebarGroupStyle groupStyle(FSidebarGroupStyle)?, EdgeInsetsGeometry? headerPadding, EdgeInsetsGeometry? contentPadding, }) → FSidebarStyle -
Available on FSidebarStyle, provided by the $FSidebarStyleCopyWith extension
Returns a copy of this FSidebarStyle 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