SearchTextField constructor

const SearchTextField({
  1. Key? key,
  2. required String hintText,
  3. void onChanged(
    1. String
    )?,
  4. void onSubmitted(
    1. String
    )?,
  5. required TextEditingController controller,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(10),
})

Implementation

const SearchTextField({
  super.key,
  required this.hintText,
  this.onChanged,
  this.onSubmitted,
  required this.controller,
  this.padding = const EdgeInsets.all(10),
});