SwipeDeck constructor

const SwipeDeck({
  1. Key? key,
  2. required List<Widget> widgets,
  3. int startIndex = 0,
  4. Widget emptyIndicator = const _NothingHere(),
  5. double aspectRatio = 4 / 3,
})

Implementation

const SwipeDeck({Key? key, required this.widgets, this.startIndex = 0, this.emptyIndicator = const _NothingHere(), this.aspectRatio = 4 / 3}) : super(key: key);