TerminalSearchBar constructor

const TerminalSearchBar({
  1. required bool visible,
  2. required ValueChanged<String> onChanged,
  3. required VoidCallback onNext,
  4. required VoidCallback onPrev,
  5. required VoidCallback onClose,
  6. bool invalidPattern = false,
  7. bool caseSensitive = false,
  8. bool wholeWord = false,
  9. bool regex = true,
  10. bool wrap = true,
  11. ValueChanged<bool>? onCaseSensitiveChanged,
  12. ValueChanged<bool>? onWholeWordChanged,
  13. ValueChanged<bool>? onRegexChanged,
  14. ValueChanged<bool>? onWrapChanged,
  15. Key? key,
})

Implementation

const TerminalSearchBar({
  required this.visible,
  required this.onChanged,
  required this.onNext,
  required this.onPrev,
  required this.onClose,
  this.invalidPattern = false,
  this.caseSensitive = false,
  this.wholeWord = false,
  this.regex = true,
  this.wrap = true,
  this.onCaseSensitiveChanged,
  this.onWholeWordChanged,
  this.onRegexChanged,
  this.onWrapChanged,
  super.key,
});