FilterableList constructor

const FilterableList({
  1. required List<String> items,
  2. required dynamic onItemTapped(
    1. String
    ),
  3. Widget suggestionBuilder(
    1. String data
    )?,
  4. double elevation = 5,
  5. double maxListHeight = 150,
  6. TextStyle suggestionTextStyle = const TextStyle(),
  7. Color? suggestionBackgroundColor,
  8. bool loading = false,
  9. Widget? progressIndicatorBuilder,
})

Implementation

const FilterableList(
    {required this.items,
    required this.onItemTapped,
    this.suggestionBuilder,
    this.elevation = 5,
    this.maxListHeight = 150,
    this.suggestionTextStyle = const TextStyle(),
    this.suggestionBackgroundColor,
    this.loading = false,
    this.progressIndicatorBuilder});