TextFieldSpecAttribute class

Represents the attributes of a TextFieldSpec.

This class encapsulates properties defining the layout and appearance of a TextFieldSpec.

Use this class to configure the attributes of a TextFieldSpec and pass it to the TextFieldSpec constructor.

Mixed-in types

Constructors

TextFieldSpecAttribute({TextStyleDto? style, TextAlign? textAlign, StrutStyleDto? strutStyle, TextHeightBehaviorDto? textHeightBehavior, TextWidthBasis? textWidthBasis, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, ColorDto? cursorColor, Offset? cursorOffset, bool? paintCursorAboveText, ColorDto? backgroundCursorColor, ColorDto? selectionColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, EdgeInsetsDto? scrollPadding, Clip? clipBehavior, Brightness? keyboardAppearance, ColorDto? autocorrectionTextRectColor, bool? cursorOpacityAnimates, FlexBoxSpecAttribute? outerContainer, FlexBoxSpecAttribute? container, TextStyleDto? hintTextStyle, TextSpecAttribute? helperText, IconSpecAttribute? icon, bool? floatingLabel, double? floatingLabelHeight, TextStyleDto? floatingLabelStyle, AnimatedDataDto? animated, WidgetModifiersDataDto? modifiers})
const

Properties

animated → AnimatedDataDto?
finalinherited
autocorrectionTextRectColor → ColorDto?
final
backgroundCursorColor → ColorDto?
final
clipBehavior Clip?
final
container → FlexBoxSpecAttribute?
final
cursorColor → ColorDto?
final
cursorHeight double?
final
cursorOffset Offset?
final
cursorOpacityAnimates bool?
final
cursorRadius Radius?
final
cursorWidth double?
final
floatingLabel bool?
final
floatingLabelHeight double?
final
floatingLabelStyle → TextStyleDto?
final
hashCode int
The hash code for this object.
no setterinherited
helperText → TextSpecAttribute?
final
hintTextStyle → TextStyleDto?
final
icon → IconSpecAttribute?
final
keyboardAppearance Brightness?
final
mergeKey Object
no setterinherited
modifiers → WidgetModifiersDataDto?
finalinherited
outerContainer → FlexBoxSpecAttribute?
final
paintCursorAboveText bool?
final
props List<Object?>
The list of properties that constitute the state of this TextFieldSpecAttribute.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding → EdgeInsetsDto?
final
selectionColor → ColorDto?
final
selectionHeightStyle BoxHeightStyle?
final
selectionWidthStyle BoxWidthStyle?
final
stringify bool
no setterinherited
strutStyle → StrutStyleDto?
final
style → TextStyleDto?
final
textAlign TextAlign?
final
textHeightBehavior → TextHeightBehaviorDto?
final
textWidthBasis TextWidthBasis?
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant TextFieldSpecAttribute? other) TextFieldSpecAttribute
Merges the properties of this TextFieldSpecAttribute with the properties of other.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) TextFieldSpec
Resolves to TextFieldSpec using the provided MixData.
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