CommonPasswordTextBox constructor

const CommonPasswordTextBox({
  1. Key? key,
  2. required String hintText,
  3. TextInputType textInputType = TextInputType.text,
  4. required TextEditingController controller,
  5. bool readOnly = false,
  6. bool obsure = false,
  7. required IconData icon,
  8. required dynamic onPress(),
  9. required IconData preIcon,
})

Implementation

const CommonPasswordTextBox({
  super.key,
  required this.hintText,
  this.textInputType = TextInputType.text,
  required this.controller,
  this.readOnly = false,
  this.obsure = false,
  required this.icon,
  required this.onPress,
  required this.preIcon,
});