SearchBar constructor

const SearchBar({
  1. Key? key,
  2. required TextEditingController controller,
  3. FocusNode? focusNode,
  4. bool showBackButton = true,
})

Implementation

const SearchBar({
  Key? key,
  required this.controller,
  this.focusNode,
  this.showBackButton = true,
}) : super(key: key);