CommonTextField constructor

const CommonTextField(
  1. String labelText, {
  2. required dynamic onChanged(
    1. String
    ),
  3. int? maxLength,
  4. TextInputType? textInputType,
  5. TextEditingController? editingController,
  6. Widget? suffixChild,
  7. List<TextInputFormatter>? inputFormatter,
  8. Color color = Colors.blue,
  9. VoidCallback? onFocus,
  10. bool? autoFocus,
  11. Key? key,
})

Implementation

const CommonTextField(this.labelText,
    {required this.onChanged,
      this.maxLength,
      this.textInputType,
      this.editingController,
      this.suffixChild,
      this.inputFormatter,
      this.color = Colors.blue,
      this.onFocus,
      this.autoFocus,
      Key? key})
    : super(key: key);