LayoutConfig constructor

LayoutConfig({
  1. int cardsAfter = 1,
  2. int cardsBefore = 1,
  3. bool usesInvertedLayout = false,
})

A configuration object for CardAnimation used to determine the number of cards used in the animation cardsAfter the required cards after the current used in the animation cardsBefore the required cards before the current used in the animation

Implementation

LayoutConfig({
  this.cardsAfter = 1,
  this.cardsBefore = 1,
  this.usesInvertedLayout = false,
});