FlutterSearchBar constructor

const FlutterSearchBar({
  1. Key? key,
  2. required dynamic onChangeText(
    1. String
    ),
  3. dynamic onFilterTap()?,
  4. dynamic onOrderArrowTap(
    1. String
    )?,
  5. Color? searchBarColor,
})

A simple search bar. Using onChangeText you can take appropriate actions when the input text is changed.

Implementation

const FlutterSearchBar(
    {Key? key,
    required this.onChangeText,
    this.onFilterTap,
    this.onOrderArrowTap,
    this.searchBarColor})
    : super(key: key);