SearchWidget constructor

const SearchWidget({
  1. Key? key,
  2. required void onDone(
    1. SearchInfo
    ),
  3. bool isPopup = false,
  4. bool autoFocus = false,
  5. InputDecoration? decoration,
  6. int suggestionLimit = 5,
  7. int minLengthToStartSearch = 3,
})

Implementation

const SearchWidget(
    {Key? key,
    required this.onDone,
    this.isPopup = false,
    this.autoFocus = false,
    this.decoration,
    this.suggestionLimit = 5,
    this.minLengthToStartSearch = 3})
    : super(key: key);