TextInputConfiguration constructor
Creates configuration information for a text input control.
All arguments have default values, except actionLabel
. Only
actionLabel
may be null.
Implementation
const TextInputConfiguration({
this.inputType = TextInputType.text,
this.obscureText = false,
this.autocorrect = true,
this.actionLabel,
this.inputAction = TextInputAction.done,
this.keyboardAppearance = Brightness.light,
this.textCapitalization = TextCapitalization.none,
}) : assert(inputType != null),
assert(obscureText != null),
assert(autocorrect != null),
assert(keyboardAppearance != null),
assert(inputAction != null),
assert(textCapitalization != null);