CommonPasswordTextBox constructor
const
CommonPasswordTextBox({
- Key? key,
- required String hintText,
- TextInputType textInputType = TextInputType.text,
- required TextEditingController controller,
- bool readOnly = false,
- bool obsure = false,
- required IconData icon,
- required dynamic onPress(),
- 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,
});