CustomField constructor

const CustomField({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. bool isPassword = false,
  5. TextInputType keyboardType = TextInputType.text,
  6. required dynamic onChanged(
    1. String
    ),
  7. String value = '',
  8. int? maxSize,
  9. required TextInputAction action,
})

Implementation

const CustomField({
  super.key,
  required this.label,
  this.icon,
  this.isPassword = false,
  this.keyboardType = TextInputType.text,
  required this.onChanged,
  this.value = '',
  this.maxSize,
  required this.action,
});