SilTextField constructor
SilTextField({
- Key? key,
- required dynamic onValid(),
- required SilFormattersInterface interface,
- double? height = 44,
- InputDecoration? inputDecoration,
- int? maxLines = 1,
- String? hintText,
- TextStyle? textStyle,
- double? rowSpace,
- bool? showClearBtn = true,
- TextAlign? textAlign = TextAlign.start,
- int? min,
- int? max,
- String? text,
- bool? isObscure = false,
- TextInputAction? textInputAction = TextInputAction.next,
- dynamic onSubmitted(
- String value
- bool? enabled,
- dynamic onEditingComplete()?,
- dynamic onClick()?,
- 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);