BoardList constructor

BoardList({
  1. required List<ListItem> items,
  2. BuildContext? context,
  3. double? height,
  4. double? width,
  5. Widget? header,
  6. Widget? footer,
  7. VoidCallback? setState,
  8. Color? headerBackgroundColor,
  9. Color? footerBackgroundColor,
  10. double? x,
  11. Widget? child,
  12. Color? backgroundColor = Colors.white,
  13. double? y,
  14. required ScrollController scrollController,
  15. required String title,
})

Implementation

BoardList(
    {required this.items,
    this.context,
    this.height,
    this.width,
    this.header,
    this.footer,
    this.setState,
    this.headerBackgroundColor,
    this.footerBackgroundColor,
    this.x,
    this.child,
    this.backgroundColor = Colors.white,
    this.y,
    required this.scrollController,
    required this.title}){
  headerBackgroundColor = headerBackgroundColor ?? Colors.grey.shade300;
  footerBackgroundColor = footerBackgroundColor ?? Colors.grey.shade300;
}