TextFormFieldStyle constructor
const
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),
Implementation
const TextFormFieldStyle(
{this.maxLines = 1,
this.minLines = 1,
this.enableSuggestions = true,
this.showCursor = true,
this.cursorWidth = 2.0,
this.cursorHeight,
this.cursorRadius,
this.cursorColor,
this.keyboardType = TextInputType.text,
this.decoration = const InputDecoration(
contentPadding: EdgeInsets.all(0.0),
border: InputBorder.none,
)});