SearchListDialog<T> constructor

const SearchListDialog<T>({
  1. Key? key,
  2. String? hintText,
  3. double titleHeight = 60,
  4. ValueChanged<T>? onTap,
  5. Color backgroundColor = Colors.white,
  6. required List<T> items,
  7. ToString<T>? toLabel,
  8. EdgeInsetsGeometry padding = const EdgeInsets.only(left: 5, right: 5, bottom: 10),
  9. BuildCheckChild<T>? buildCheckChild,
  10. double? height,
  11. T? value,
  12. int top = 100,
  13. double? width,
  14. bool compare(
    1. T t1,
    2. T t2
    )?,
})

Implementation

const SearchListDialog(
    {Key? key,
    this.hintText,
    this.titleHeight = 60,
    this.onTap,
    this.backgroundColor = Colors.white,
    required this.items,
    this.toLabel,
    this.padding = const EdgeInsets.only(left: 5, right: 5, bottom: 10),
    this.buildCheckChild,
    this.height,
    this.value,
    this.top = 100,
    this.width,
    this.compare})
    : super(key: key);