Board constructor

const Board(
  1. List<BoardListsData> list, {
  2. Color backgroundColor = Colors.white,
  3. Color? cardPlaceHolderColor,
  4. Color? listPlaceHolderColor,
  5. Decoration? boardDecoration,
  6. ScrollConfig? boardScrollConfig,
  7. ScrollConfig? listScrollConfig,
  8. Widget cardTransitionBuilder(
    1. Widget child,
    2. Animation<double> animation
    )?,
  9. Widget listTransitionBuilder(
    1. Widget child,
    2. Animation<double> animation
    )?,
  10. Duration cardTransitionDuration = const Duration(milliseconds: 150),
  11. Duration listTransitionDuration = const Duration(milliseconds: 150),
  12. Decoration? listDecoration,
  13. TextStyle? textStyle,
  14. void onItemTap(
    1. int? cardIndex,
    2. int? listIndex
    )?,
  15. double displacementX = 0.0,
  16. double displacementY = 0.0,
  17. void onItemReorder(
    1. int? oldCardIndex,
    2. int? newCardIndex,
    3. int? oldListIndex,
    4. int? newListIndex,
    )?,
  18. void onListReorder(
    1. int? oldListIndex,
    2. int? newListIndex
    )?,
  19. void onListRename(
    1. String? oldName,
    2. String? newName
    )?,
  20. void onNewCardInsert(
    1. String? cardIndex,
    2. String? listIndex,
    3. String? text
    )?,
  21. void onItemLongPress(
    1. int? cardIndex,
    2. int? listIndex
    )?,
  22. void onListTap(
    1. int? listIndex
    )?,
  23. void onListLongPress(
    1. int? listIndex
    )?,
  24. 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,
});