TextFieldStyler class Null safety

TextFieldStyler allows you to design the exact style you want for your textfield by using its properties. It must not be null

Constructors

TextFieldStyler({bool textFieldFilled = false, String helperText = 'Enter tags', TextStyle? helperStyle, TextStyle? textStyle, Color? cursorColor, String hintText = 'Got tags?', TextStyle? hintStyle, EdgeInsets? contentPadding, Color? textFieldFilledColor, bool isDense = true, bool textFieldEnabled = true, Icon? icon, InputBorder? textFieldBorder = const OutlineInputBorder(), InputBorder? textFieldFocusedBorder, InputBorder? textFieldDisabledBorder, InputBorder? textFieldEnabledBorder})

Properties

contentPadding EdgeInsets?
The padding for the input decoration's container. Adjust this to using EdgeInsets if you make textFieldBorder null or borderless to have the right customized style
final
cursorColor Color?
The color of the cursor blinking
final
hashCode int
The hash code for this object. [...]
read-only, inherited
helperStyle TextStyle?
Style helperText
final
helperText String
Text that provides context about the input child's value, such as how the value will be used.
final
hintStyle TextStyle?
Styles hint text
final
hintText String
Text that suggests what sort of input the field accepts.
final
icon Icon?
The icon that displays side of the text field
final
isDense bool
Whether the input child is part of a dense form (i.e., uses less vertical space).
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
textFieldBorder InputBorder?
final
textFieldDisabledBorder InputBorder?
final
textFieldEnabled bool
Enable or disable the textfield
final
textFieldEnabledBorder InputBorder?
final
textFieldFilled bool
textFieldFilled If true the decoration's container is filled with textFieldFilledColor.
final
textFieldFilledColor Color?
The color of the decoration inside the textfield
final
textFieldFocusedBorder InputBorder?
final
textStyle TextStyle?
The text style of the text input
final

Methods

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

Operators

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