InputText constructor

const InputText({
  1. Key? key,
  2. required IconData icon,
  3. required String label,
  4. required TextEditingController controller,
  5. TextInputType keyboardType = TextInputType.text,
  6. bool isOnError = false,
  7. 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);