TextFieldComponent constructor
const
TextFieldComponent({ - required TextEditingController controller,
- required IconData icon,
- required String hint,
- Key? key,
- ValueChanged<String>? onChange,
- Widget? suffixIcon,
- bool isNumeric = false,
- String? errorText,
- bool readOnly = false,
- int maxLength = 0,
- bool isExpands = false,
- bool largeField = false,
- bool useOutBorderRadius = false,
})
Implementation
const TextFieldComponent({
required this.controller,
required this.icon,
required this.hint,
super.key,
this.onChange,
this.suffixIcon,
this.isNumeric = false,
this.errorText,
this.readOnly = false,
this.maxLength = 0,
this.isExpands = false,
this.largeField = false,
this.useOutBorderRadius = false,
});