DigitTextField constructor
const
DigitTextField({
- Key? key,
- required String label,
- String prefixText = '',
- int? maxLength,
- TextEditingController? controller,
- bool isRequired = false,
- TextInputType? textInputType,
- List<
FilteringTextInputFormatter> ? inputFormatter, - String? pattern,
- String? validator(
- String? value
- String? message,
- FocusNode? focusNode,
- TextCapitalization? textCapitalization,
- ValueChanged<
String> ? onChange, - int? maxLines,
- AutovalidateMode? autoValidation,
- bool obscureText = false,
- bool isDisabled = false,
- bool readOnly = false,
- bool? isFilled,
- Widget? suffixIcon,
- Widget? prefixIcon,
- TextStyle? textStyle,
- String? hintText,
Implementation
const DigitTextField({
super.key,
required this.label,
this.prefixText = '',
this.maxLength,
this.controller,
this.isRequired = false,
this.textInputType,
this.inputFormatter,
this.pattern,
this.validator,
this.message,
this.focusNode,
this.textCapitalization,
this.onChange,
this.maxLines,
this.autoValidation,
this.obscureText = false,
this.isDisabled = false,
this.readOnly = false,
this.isFilled,
this.suffixIcon,
this.prefixIcon,
this.textStyle,
this.hintText,
});