FSidebarStyle class

A FSidebar's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FSidebarStyle.new({required Color borderColor, required double borderWidth, required FSidebarGroupStyle groupStyle, double width = 250, EdgeInsetsGeometry headerPadding = const EdgeInsets.fromLTRB(0, 16, 0, 0), EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 12), EdgeInsetsGeometry footerPadding = const EdgeInsets.fromLTRB(0, 0, 0, 16)})
Creates a FSidebarStyle.
const
FSidebarStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
Creates a FSidebarStyle that inherits its properties.

Properties

borderColor Color
The border color.
final
borderWidth double
The border width.
final
contentPadding EdgeInsetsGeometry
The padding for the content section. Defaults to EdgeInsets.symmetric(vertical: 12).
final
footerPadding EdgeInsetsGeometry
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
width double
The width of the sidebar. Defaults to 250.
final

Methods

copyWith({double? width, Color? borderColor, double? borderWidth, FSidebarGroupStyle? groupStyle, EdgeInsetsGeometry? headerPadding, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? footerPadding}) FSidebarStyle
Returns a copy of this FSidebarStyle 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