RecupTextOrButtonFormField constructor

const RecupTextOrButtonFormField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? initialValue,
  4. String label = '',
  5. Widget? suffixIcon,
  6. Widget? prefixIcon,
  7. TextAlign textAlign = TextAlign.start,
  8. void onSaved(
    1. String?
    )?,
  9. void onTap()?,
  10. TextInputType? keyboardType,
  11. bool isButton = false,
  12. bool? isDense,
  13. String? hintText,
  14. String? validator(
    1. String?
    )?,
  15. dynamic onChanged(
    1. String
    )?,
})

Implementation

const RecupTextOrButtonFormField({
  Key? key,
  this.controller,
  this.initialValue,
  this.label = '',
  this.suffixIcon,
  this.prefixIcon,
  this.textAlign = TextAlign.start,
  this.onSaved,
  this.onTap,
  this.keyboardType,
  this.isButton = false,
  this.isDense,
  this.hintText,
  this.validator,
  this.onChanged,
}) : super(key: key);