FDividerStyle class final
FDivider's style.
The padding property can be used to indent the start and end of the separating line.
- Mixed-in types
Constructors
- FDividerStyle({required Color color, required EdgeInsetsGeometry padding, double width = 1})
- Creates a FDividerStyle.
- FDividerStyle.inherit({required FColorScheme colorScheme, required FStyle style, required EdgeInsetsGeometry padding})
-
Creates a FDividerStyle that inherits its properties from
colorScheme
,style
, andpadding
.
Properties
- color → Color
-
The color of the separating line.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsetsGeometry
-
The padding surrounding the separating line. Defaults to the appropriate padding in defaultPadding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
The width (thickness) of the separating line. Defaults to 1.
final
Methods
-
copyWith(
{Color? color, EdgeInsetsGeometry? padding, double? width}) → FDividerStyle - Returns a copy of this FDividerStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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.
override
Constants
- defaultPadding → const ({EdgeInsets horizontalStyle, EdgeInsets verticalStyle})
- The default padding for horizontal and vertical dividers.