TextFormFieldStyle class

Modifies the properties of the text field

Constructors

TextFormFieldStyle({int maxLines = 1, int minLines = 1, bool enableSuggestions = true, bool showCursor = true, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, TextInputType keyboardType = TextInputType.text, InputDecoration decoration = const InputDecoration(contentPadding: EdgeInsets.all(0.0), border: InputBorder.none)})
const

Properties

cursorColor Color?
The color to use when painting the cursor.
final
cursorHeight double?
The height of the cursor.
final
cursorRadius Radius?
The radius of the cursor.
final
cursorWidth double
The width of the cursor.
final
decoration InputDecoration
The style of the textfield.
final
enableSuggestions bool
whether to show suggestions
final
hashCode int
The hash code for this object.
no setterinherited
keyboardType TextInputType
keyboard type for the textfield
final
maxLines int
The maximum number of lines for the text field.
final
minLines int
The minimum number of lines for the text field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCursor bool
whether to show the cursor
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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