Podium constructor
const
Podium({
- Key? key,
- required Widget firstPosition,
- required Widget secondPosition,
- required Widget thirdPosition,
- double height = 250,
- double width = 110,
- double horizontalSpacing = 3,
- Color color = Colors.blue,
- Color rankingTextColor = Colors.white,
- double rankingFontSize = 50,
- bool is2D = false,
- bool hideRanking = false,
- bool showRankingNumberInsteadOfText = false,
- String firstRankingText = " FIRST ",
- String secondRankingText = " SEC ",
- 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",
});