FLabelStyle class
The FLabel's style.
- Inheritance
-
- Object
- FFormFieldStyle
- FLabelStyle
- Implemented types
- Implementers
- Available extensions
Constructors
-
FLabelStyle.new({required FWidgetStateMap<
TextStyle> labelTextStyle, required FWidgetStateMap<TextStyle> descriptionTextStyle, required TextStyle errorTextStyle, EdgeInsetsGeometry labelPadding = EdgeInsets.zero, EdgeInsetsGeometry descriptionPadding = EdgeInsets.zero, EdgeInsetsGeometry errorPadding = EdgeInsets.zero, EdgeInsetsGeometry childPadding = EdgeInsets.zero}) -
Creates a FLabelStyle.
const
- FLabelStyle.inherit({required FStyle style, EdgeInsetsGeometry labelPadding = EdgeInsets.zero, EdgeInsetsGeometry descriptionPadding = EdgeInsets.zero, EdgeInsetsGeometry errorPadding = EdgeInsets.zero, EdgeInsetsGeometry childPadding = EdgeInsets.zero})
- Creates a FLabelStyle.
Properties
- childPadding → EdgeInsetsGeometry
-
The child's padding.
final
- descriptionPadding → EdgeInsetsGeometry
-
The description's padding.
final
-
descriptionTextStyle
→ FWidgetStateMap<
TextStyle> -
The description's text style.
finalinherited
- errorPadding → EdgeInsetsGeometry
-
The error's padding.
final
- errorTextStyle → TextStyle
-
The error's text style.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- labelPadding → EdgeInsetsGeometry
-
The label's padding.
final
-
labelTextStyle
→ FWidgetStateMap<
TextStyle> -
The label's text style.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap< TextStyle> ? labelTextStyle, FWidgetStateMap<TextStyle> ? descriptionTextStyle, TextStyle? errorTextStyle}) → FLabelStyle -
Returns a copy of this FLabelStyle 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