BaseTextField constructor
const
BaseTextField({
- Key? key,
- required String text,
- required dynamic callBackValue(
- String value
- String hintText = "",
- TextAlign? textAlign,
- EdgeInsetsGeometry? contentPadding,
- TextInputType? keyboardType = TextInputType.text,
- bool isPws = false,
- bool isShowCounterText = false,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- bool? readOnly = false,
- int? maxLines = 1,
- int? maxLength,
- InputDecoration? inputDecoration,
- TextSelectionControls? selectionControls,
Implementation
const BaseTextField({
super.key,
required this.text,
required this.callBackValue,
this.hintText = "",
this.textAlign,
this.contentPadding,
this.keyboardType = TextInputType.text,
this.isPws = false,
this.isShowCounterText = false,
this.textStyle,
this.hintStyle,
this.readOnly = false,
this.maxLines = 1,
this.maxLength,
this.inputDecoration,
this.selectionControls,
});