CommonTextBox constructor
const
CommonTextBox({
- Key? key,
- required String hintText,
- TextInputType textInputType = TextInputType.text,
- required TextEditingController controller,
- bool readOnly = false,
- required IconData icon,
- required dynamic onChange(),
Implementation
const CommonTextBox(
{super.key,
required this.hintText,
this.textInputType = TextInputType.text,
required this.controller,
this.readOnly = false,
required this.icon,
required this.onChange});