TextFormFieldStyle constructor

const TextFormFieldStyle({
  1. int maxLines = 1,
  2. int minLines = 1,
  3. bool enableSuggestions = true,
  4. bool showCursor = true,
  5. double cursorWidth = 2.0,
  6. double? cursorHeight,
  7. Radius? cursorRadius,
  8. Color? cursorColor,
  9. TextInputType keyboardType = TextInputType.text,
  10. 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,
    )});