TextFieldSpec class

Mixed-in types
Annotations
  • @MixableSpec.new()

Constructors

TextFieldSpec({TextStyle? style, TextAlign? textAlign, StrutStyle? strutStyle, TextHeightBehavior? textHeightBehavior, TextWidthBasis? textWidthBasis, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Offset? cursorOffset, bool? paintCursorAboveText, Color? backgroundCursorColor, Color? selectionColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, EdgeInsets? scrollPadding, Clip? clipBehavior, Brightness? keyboardAppearance, Color? autocorrectionTextRectColor, bool? cursorOpacityAnimates, FlexBoxSpec? outerContainer, FlexBoxSpec? container, TextStyle? hintTextStyle, TextSpec? helperText, IconSpec? icon, bool? floatingLabel, double? floatingLabelHeight, TextStyle? floatingLabelStyle, AnimatedData? animated, WidgetModifiersData? modifiers})
const

Properties

animated → AnimatedData?
finalinherited
autocorrectionTextRectColor Color?
final
backgroundCursorColor Color
final
clipBehavior Clip
final
container → FlexBoxSpec
final
cursorColor Color
final
cursorHeight double?
final
cursorOffset Offset
final
cursorOpacityAnimates bool
final
cursorRadius Radius?
final
cursorWidth double
final
floatingLabel bool
final
floatingLabelHeight double
final
floatingLabelStyle TextStyle?
final
hashCode int
The hash code for this object.
no setterinherited
helperText → TextSpec
final
hintTextStyle TextStyle?
final
icon → IconSpec
final
isAnimated bool
no setterinherited
keyboardAppearance Brightness
final
modifiers → WidgetModifiersData?
finalinherited
outerContainer → FlexBoxSpec
final
paintCursorAboveText bool
final
props List<Object?>
The list of properties that constitute the state of this TextFieldSpec.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPadding EdgeInsets
final
selectionColor Color?
final
selectionHeightStyle BoxHeightStyle
final
selectionWidthStyle BoxWidthStyle
final
stringify bool
no setterinherited
strutStyle StrutStyle?
final
style TextStyle
final
textAlign TextAlign
final
textHeightBehavior TextHeightBehavior?
final
textWidthBasis TextWidthBasis
final
type Type
no setterinherited

Methods

copyWith({TextStyle? style, TextAlign? textAlign, StrutStyle? strutStyle, TextHeightBehavior? textHeightBehavior, TextWidthBasis? textWidthBasis, double? cursorWidth, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Offset? cursorOffset, bool? paintCursorAboveText, Color? backgroundCursorColor, Color? selectionColor, BoxHeightStyle? selectionHeightStyle, BoxWidthStyle? selectionWidthStyle, EdgeInsets? scrollPadding, Clip? clipBehavior, Brightness? keyboardAppearance, Color? autocorrectionTextRectColor, bool? cursorOpacityAnimates, FlexBoxSpec? outerContainer, FlexBoxSpec? container, TextStyle? hintTextStyle, TextSpec? helperText, IconSpec? icon, bool? floatingLabel, double? floatingLabelHeight, TextStyle? floatingLabelStyle, AnimatedData? animated, WidgetModifiersData? modifiers}) TextFieldSpec
Creates a copy of this TextFieldSpec but with the given fields replaced with the new values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getDiff(EqualityMixin other) Map<String, String>
inherited
lerp(covariant TextFieldSpec? other, double t) TextFieldSpec
Linearly interpolates between this TextFieldSpec and another TextFieldSpec based on the given parameter t.
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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

from → const TextFieldSpec Function(MixData mix)
of → const TextFieldSpec Function(BuildContext context)