SilTextField constructor

SilTextField({
  1. Key? key,
  2. required dynamic onValid(
    1. bool valid,
    2. String value
    ),
  3. required SilFormattersInterface interface,
  4. double? height = 44,
  5. InputDecoration? inputDecoration,
  6. int? maxLines = 1,
  7. String? hintText,
  8. TextStyle? textStyle,
  9. double? rowSpace,
  10. bool? showClearBtn = true,
  11. TextAlign? textAlign = TextAlign.start,
  12. int? min,
  13. int? max,
  14. String? text,
  15. bool? isObscure = false,
  16. TextInputAction? textInputAction = TextInputAction.next,
  17. dynamic onSubmitted(
    1. String value
    )?,
  18. bool? enabled,
  19. dynamic onEditingComplete()?,
  20. dynamic onClick()?,
  21. bool requestFocus = false,
})

Implementation

SilTextField({
  Key? key,
  required this.onValid,
  required this.interface,
  this.height = 44,
  this.inputDecoration,
  this.maxLines = 1,
  this.hintText,
  this.textStyle,
  this.rowSpace,
  this.showClearBtn = true,
  this.textAlign = TextAlign.start,
  this.min,
  this.max,
  this.text,
  this.isObscure = false,
  this.textInputAction = TextInputAction.next,
  this.onSubmitted,
  this.enabled,
  this.onEditingComplete,
  this.onClick,
  this.requestFocus = false,
}) : super(key: key);