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