FFormFieldStyle class - forui.theme library (original) (raw)

A form field state's style.

Implemented types

Mixed-in types

Implementers

Available extensions

Constructors

FFormFieldStyle.new({required FWidgetStateMap<TextStyle> labelTextStyle, required FWidgetStateMap<TextStyle> descriptionTextStyle, required TextStyle errorTextStyle})

Creates a FFormFieldStyle.

const

FFormFieldStyle.inherit({required FColors colors, required FTypography typography})

Creates a FFormFieldStyle that inherits its properties.

Properties

descriptionTextStyleFWidgetStateMap<TextStyle>

The description's text style.

final

errorTextStyleTextStyle

The error's text style.

final

hashCodeint

The hash code for this object.

no setterinherited

labelTextStyleFWidgetStateMap<TextStyle>

The label's text style.

final

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

copyWith({FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle})→ FFormFieldStyle

Returns a copy of this FFormFieldStyle 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 thehashCode.

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