TextField constructor
TextField({})
Implementation
TextField({
this.label,
this.hint,
this.prefixIcon,
this.suffixIcon,
this.keyboard = Keyboard.text,
this.maxLines,
this.obscureText = false,
Object? onChanged,
Object? onSubmitted,
String? name,
Object? visible,
}) : onChanged = normalizeActionSequence(
onChanged,
parameterName: 'onChanged',
),
onSubmitted = normalizeActionSequence(
onSubmitted,
parameterName: 'onSubmitted',
),
super(name: name, visible: _normalizeVisibility(visible));