BaseTextField constructor

const BaseTextField({
  1. Key? key,
  2. required String text,
  3. required dynamic callBackValue(
    1. String value
    ),
  4. String hintText = "",
  5. TextAlign? textAlign,
  6. EdgeInsetsGeometry? contentPadding,
  7. TextInputType? keyboardType = TextInputType.text,
  8. bool isPws = false,
  9. bool isShowCounterText = false,
  10. TextStyle? textStyle,
  11. TextStyle? hintStyle,
  12. bool? readOnly = false,
  13. int? maxLines = 1,
  14. int? maxLength,
  15. InputDecoration? inputDecoration,
  16. 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,
});