Deck constructor

const Deck({
  1. Key? key,
  2. double collapsedSize = 48.0,
  3. bool collapseOnTap = true,
  4. double? expandedSize,
  5. required List<DeckItem> items,
  6. double? mainAxisSize,
})

Implementation

const Deck({
  Key? key,
  this.collapsedSize = 48.0,
  this.collapseOnTap = true,
  this.expandedSize,
  required this.items,
  this.mainAxisSize,
}) : super(key: key);