TextFieldConfiguration<T> constructor

const TextFieldConfiguration<T>({InputDecoration decoration: const InputDecoration(), TextStyle style, TextEditingController controller, ValueChanged<T> onChanged, ValueChanged<T> onSubmitted, bool obscureText: false bool maxLengthEnforced: true int maxLength, int maxLines: 1, int minLines, bool autocorrect: true List<TextInputFormatter> inputFormatters, bool autofocus: false TextInputType keyboardType: TextInputType.text, bool enabled: true TextAlign textAlign: TextAlign.start, FocusNode focusNode, Color cursorColor, Radius cursorRadius, TextInputAction textInputAction, TextCapitalization textCapitalization: TextCapitalization.none, double cursorWidth: 2.0, Brightness keyboardAppearance, VoidCallback onEditingComplete, GestureTapCallback onTap, TextDirection textDirection, EdgeInsets scrollPadding: const EdgeInsets.all(20.0), bool enableInteractiveSelection: true })

Creates a TextFieldConfiguration

Implementation

const TextFieldConfiguration({
  this.decoration: const InputDecoration(),
  this.style,
  this.controller,
  this.onChanged,
  this.onSubmitted,
  this.obscureText: false,
  this.maxLengthEnforced: true,
  this.maxLength,
  this.maxLines: 1,
  this.minLines,
  this.autocorrect: true,
  this.inputFormatters,
  this.autofocus: false,
  this.keyboardType: TextInputType.text,
  this.enabled: true,
  this.textAlign: TextAlign.start,
  this.focusNode,
  this.cursorColor,
  this.cursorRadius,
  this.textInputAction,
  this.textCapitalization: TextCapitalization.none,
  this.cursorWidth: 2.0,
  this.keyboardAppearance,
  this.onEditingComplete,
  this.onTap,
  this.textDirection,
  this.scrollPadding: const EdgeInsets.all(20.0),
  this.enableInteractiveSelection: true,
});