CustomField constructor
const
CustomField({
- Key? key,
- required String label,
- IconData? icon,
- bool isPassword = false,
- TextInputType keyboardType = TextInputType.text,
- required dynamic onChanged(),
- String value = '',
- int? maxSize,
- 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,
});