BoardList constructor
BoardList({
- required List<
ListItem> items, - BuildContext? context,
- double? height,
- double? width,
- Widget? header,
- VoidCallback? setState,
- Color? headerBackgroundColor = const Color.fromARGB(255, 247, 248, 252),
- double? x,
- Widget? child,
- Color? backgroundColor = const Color.fromARGB(255, 247, 248, 252),
- double? y,
- required ScrollController scrollController,
- 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;
}