Textfields constructor
const
Textfields({
- Key? key,
- required String label,
- required String hintText,
- required IconData prefixIcon,
- required TextEditingController controller,
- required bool isPassword,
- int? maxLength,
- TextInputType? keyboardType,
Implementation
const Textfields({
super.key,
required this.label,
required this.hintText,
required this.prefixIcon,
required this.controller,
required this.isPassword,
this.maxLength,
this.keyboardType,
});