InputText constructor
const
InputText({
- Key? key,
- required IconData icon,
- required String label,
- required TextEditingController controller,
- TextInputType keyboardType = TextInputType.text,
- bool isOnError = false,
- bool isPassword = false,
Implementation
const InputText({
Key? key,
required this.icon,
required this.label,
required this.controller,
this.keyboardType = TextInputType.text,
this.isOnError = false,
this.isPassword = false,
}) : super(key: key);