CubitFormIntField constructor

const CubitFormIntField({
  1. required FieldCubit<int> formFieldCubit,
  2. InputDecoration decoration = const InputDecoration(),
  3. bool obscureText = false,
  4. EdgeInsets? scrollPadding,
  5. TextStyle? style,
  6. TextAlign? textAlign,
  7. FocusNode? focusNode,
  8. Color? cursorColor,
  9. int maxLines = 1,
  10. bool autofocus = false,
  11. Key? key,
  12. String? prefixText,
  13. 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);