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 = const Color.fromARGB(255, 247, 248, 252),
  9. Color? footerBackgroundColor = const Color.fromARGB(255, 247, 248, 252),
  10. double? x,
  11. Widget? child,
  12. Color? backgroundColor = const Color.fromARGB(255, 247, 248, 252),
  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 = const Color.fromARGB(
      255,
      247,
      248,
      252,
    ),
    this.footerBackgroundColor = const Color.fromARGB(
      255,
      247,
      248,
      252,
    ),
    this.x,
    this.child,
    this.backgroundColor = const Color.fromARGB(
      255,
      247,
      248,
      252,
    ),
    this.y,
    required this.scrollController,
    required this.title}) {
  headerBackgroundColor = headerBackgroundColor ?? Colors.grey.shade300;
  footerBackgroundColor = footerBackgroundColor ?? Colors.grey.shade300;
}