Board constructor
const
Board(
- List<
BoardListsData> list, { - Color backgroundColor = Colors.white,
- Color? cardPlaceHolderColor,
- Color? listPlaceHolderColor,
- Decoration? boardDecoration,
- ScrollConfig? boardScrollConfig,
- ScrollConfig? listScrollConfig,
- Widget cardTransitionBuilder()?,
- Widget listTransitionBuilder()?,
- Duration cardTransitionDuration = const Duration(milliseconds: 150),
- Duration listTransitionDuration = const Duration(milliseconds: 150),
- Decoration? listDecoration,
- TextStyle? textStyle,
- void onItemTap()?,
- double displacementX = 0.0,
- double displacementY = 0.0,
- void onItemReorder()?,
- void onListReorder()?,
- void onListRename()?,
- void onNewCardInsert()?,
- void onItemLongPress()?,
- void onListTap(
- int? listIndex
- void onListLongPress(
- int? listIndex
- Key? key,
Implementation
const Board(
this.list, {
this.backgroundColor = Colors.white,
this.cardPlaceHolderColor,
this.listPlaceHolderColor,
this.boardDecoration,
this.boardScrollConfig,
this.listScrollConfig,
this.cardTransitionBuilder,
this.listTransitionBuilder,
this.cardTransitionDuration = const Duration(milliseconds: 150),
this.listTransitionDuration = const Duration(milliseconds: 150),
this.listDecoration,
this.textStyle,
this.onItemTap,
this.displacementX = 0.0,
this.displacementY = 0.0,
this.onItemReorder,
this.onListReorder,
this.onListRename,
this.onNewCardInsert,
this.onItemLongPress,
this.onListTap,
this.onListLongPress,
super.key,
});