SearchBar constructor

SearchBar({
  1. double? height,
  2. required List<MenuItem>? children,
  3. required SearchCallback? onSearch,
  4. Color activeColor = Colors.blue,
  5. Color backgroundColor = Colors.white,
})

Implementation

SearchBar({this.height, required this.children, required this.onSearch, this.activeColor=Colors.blue, this.backgroundColor=Colors.white});