StandardTextField constructor

const StandardTextField({
  1. Key? key,
  2. required bool showEndIcon,
  3. required double endIconPaddingLeft,
  4. required String hintText,
  5. required TextStyle hintStyle,
  6. required Color cursorColor,
  7. required TextStyle textStyle,
  8. TextEditingController? controller,
  9. void onSubmitted(
    1. String
    )?,
  10. void onChanged(
    1. String
    )?,
  11. required double horizontalPadding,
  12. required dynamic updateSuggestions(
    1. String
    ),
})

Implementation

const StandardTextField({
  super.key,
  required this.showEndIcon,
  required this.endIconPaddingLeft,
  required this.hintText,
  required this.hintStyle,
  required this.cursorColor,
  required this.textStyle,
  this.controller,
  this.onSubmitted,
  this.onChanged,
  required this.horizontalPadding,
  required this.updateSuggestions,
});