CoolList<T> constructor

CoolList<T>({
  1. required List<T> items,
  2. required Widget widgetBuilder(
    1. T item
    ),
  3. String msgOnEmpty = 'Empty List',
  4. String? title,
  5. bool addDivider = true,
  6. bool startWithDivider = true,
  7. double gap = 0,
  8. bool shrinkWrap = false,
  9. Color dividerColor = Colors.grey,
  10. Widget? titleWidget,
  11. ListReOrderHelper<T>? listReOrderHelper,
  12. Key? key,
})

Implementation

CoolList({
  required this.items,
  required this.widgetBuilder,
  this.msgOnEmpty = 'Empty List',
  this.title,
  this.addDivider = true,
  this.startWithDivider = true,
  this.gap = 0,
  this.shrinkWrap = false,
  this.dividerColor = Colors.grey,
  this.titleWidget,
  this.listReOrderHelper,
  super.key,
});