RankedList constructor

const RankedList(
  1. {Key key,
  2. @required Widget itemBuilder(
    1. BuildContext,
    2. int
    ),
  3. @required int itemCount,
  4. @required int rank,
  5. @required double itemHeight,
  6. bool showTop = true,
  7. bool showBottom = true,
  8. Widget topItem,
  9. Widget bottomItem}
)

Implementation

const RankedList({
  Key key,
  @required this.itemBuilder,
  @required this.itemCount,
  @required this.rank,
  @required this.itemHeight,
  this.showTop = true,
  this.showBottom = true,
  this.topItem,
  this.bottomItem,
}) : super(key: key);