Podium constructor

const Podium({
  1. Key? key,
  2. required Widget firstPosition,
  3. required Widget secondPosition,
  4. required Widget thirdPosition,
  5. double height = 250,
  6. double width = 110,
  7. double horizontalSpacing = 3,
  8. Color color = Colors.blue,
  9. Color rankingTextColor = Colors.white,
  10. double rankingFontSize = 50,
  11. bool is2D = false,
  12. bool hideRanking = false,
  13. bool showRankingNumberInsteadOfText = false,
  14. String firstRankingText = " FIRST ",
  15. String secondRankingText = " SEC ",
  16. String thirdRankingText = " TH",
})

Implementation

const Podium({
  super.key,
  required this.firstPosition,
  required this.secondPosition,
  required this.thirdPosition,
  this.height = 250,
  this.width = 110,
  this.horizontalSpacing = 3,
  this.color = Colors.blue,
  this.rankingTextColor = Colors.white,
  this.rankingFontSize = 50,
  this.is2D = false,
  this.hideRanking = false,
  this.showRankingNumberInsteadOfText = false,
  this.firstRankingText = " FIRST     ",
  this.secondRankingText = " SEC   ",
  this.thirdRankingText = " TH",
});