AppFlowyBoard constructor

const AppFlowyBoard({
  1. Key? key,
  2. required AppFlowyBoardController controller,
  3. required AppFlowyBoardCardBuilder cardBuilder,
  4. Widget? background,
  5. AppFlowyBoardFooterBuilder? footerBuilder,
  6. AppFlowyBoardHeaderBuilder? headerBuilder,
  7. ScrollController? scrollController,
  8. AppFlowyBoardScrollController? boardScrollController,
  9. BoxConstraints groupConstraints = const BoxConstraints(maxWidth: 200),
  10. AppFlowyBoardConfig config = const AppFlowyBoardConfig(),
  11. Widget? leading,
  12. Widget? trailing,
})

Implementation

const AppFlowyBoard({
  super.key,
  required this.controller,
  required this.cardBuilder,
  this.background,
  this.footerBuilder,
  this.headerBuilder,
  this.scrollController,
  this.boardScrollController,
  this.groupConstraints = const BoxConstraints(maxWidth: 200),
  this.config = const AppFlowyBoardConfig(),
  this.leading,
  this.trailing,
});