HcTextFormField constructor

const HcTextFormField({
  1. Key? key,
  2. required String title,
  3. Widget? suffixWidget,
  4. TextEditingController? controller,
  5. VoidCallback? onTap,
  6. bool enabled = true,
  7. TextInputType? keyboardType,
  8. List<TextInputFormatter>? inputFormatters,
  9. String? validator(
    1. String?
    )?,
  10. bool obscureText = false,
  11. Color color = Colors.white,
})

Implementation

const HcTextFormField(
    {Key? key,
    required this.title,
    this.suffixWidget,
    this.controller,
    this.onTap,
    this.enabled = true,
    this.keyboardType,
    this.inputFormatters,
    this.validator,
    this.obscureText = false,
    this.color = Colors.white})
    : super(key: key);