TpTextField constructor
const
TpTextField(
- String labelText, {
- required dynamic onChanged(),
- int? maxLength,
- TextInputType? textInputType,
- TextEditingController? editingController,
- Widget? suffixChild,
- List<
TextInputFormatter> ? inputFormatter, - Color color = Colors.blue,
- VoidCallback? onFocus,
- bool? autoFocus,
- TextStyle textStyle = _kTextStyle,
- TextStyle labelStyle = _kLabelTextStyle,
- Key? key,
Implementation
const TpTextField(this.labelText,
{required this.onChanged,
this.maxLength,
this.textInputType,
this.editingController,
this.suffixChild,
this.inputFormatter,
this.color = Colors.blue,
this.onFocus,
this.autoFocus,
this.textStyle = _kTextStyle,
this.labelStyle = _kLabelTextStyle,
Key? key})
: super(key: key);