ArnaSearchField constructor

const ArnaSearchField({
  1. Key? key,
  2. required bool showSearch,
  3. TextEditingController? controller,
  4. ValueChanged<String>? onChanged,
  5. ValueChanged<String>? onSubmitted,
  6. String? hintText,
  7. SmartQuotesType? smartQuotesType,
  8. SmartDashesType? smartDashesType,
  9. String? restorationId,
  10. bool autofocus = false,
  11. VoidCallback? onTap,
  12. bool autocorrect = true,
  13. bool enabled = true,
})

Creates a search field in the Arna style.

Implementation

const ArnaSearchField({
  super.key,
  required this.showSearch,
  this.controller,
  this.onChanged,
  this.onSubmitted,
  this.hintText,
  this.smartQuotesType,
  this.smartDashesType,
  this.restorationId,
  this.autofocus = false,
  this.onTap,
  this.autocorrect = true,
  this.enabled = true,
});