CommonTextBox constructor

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

Implementation

const CommonTextBox(
    {super.key,
    required this.hintText,
    this.textInputType = TextInputType.text,
    required this.controller,
    this.readOnly = false,
    required this.icon,
    required this.onChange});