CubitFormMaskedTextField constructor
const
CubitFormMaskedTextField({
- required FieldCubit<
String> formFieldCubit, - TextInputType? keyboardType,
- InputDecoration decoration = const InputDecoration(),
- required MaskTextInputFormatter maskFormatter,
- EdgeInsets? scrollPadding,
- TextStyle? style,
- TextAlign? textAlign,
- FocusNode? focusNode,
- Color? cursorColor,
- bool autofocus = false,
- String? prefixText,
- String? hintText,
- Key? key,
Implementation
const CubitFormMaskedTextField({
required this.formFieldCubit,
this.keyboardType,
this.decoration = const InputDecoration(),
required this.maskFormatter,
this.scrollPadding,
this.style,
this.textAlign,
this.focusNode,
this.cursorColor,
this.autofocus = false,
this.prefixText,
this.hintText,
Key? key,
}) : super(key: key);