TextFieldTheme class

Constructors

TextFieldTheme({List<BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.2), offset: Offset(0.0, 1.0))], Radius borderRadius = const Radius.circular(3.0), Color color = const Color.fromARGB(255, 41, 45, 53), Color borderColor = const Color.fromRGBO(255, 255, 255, 0.05), double borderWidth = 1.0, TextStyle textStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0), TextStyle suffixStyle = const TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0), fontSize: 13.0), Color cursorColor = const Color.fromRGBO(4, 180, 255, 1.0), Color selectionColor = const Color.fromRGBO(4, 180, 255, 0.67), EdgeInsetsGeometry contentPadding = const EdgeInsets.all(8.0)})
const

Properties

borderColor Color
The border color of a text field.
final
borderRadius Radius
The border radius of a text field.
final
borderWidth double
The border width of a text field.
final
color Color
The color of a text field.
final
contentPadding EdgeInsetsGeometry
The padding of a text field's content.
final
cursorColor Color
The color of a text field's cursor.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionColor Color
The color of a text field's selection.
final
shadow List<BoxShadow>
The shadow(s) of a text field.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
suffixStyle TextStyle
The text style of a text field's suffix.
final
textStyle TextStyle
The text style of a text field.
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