CandleChart constructor
CandleChart({
- Key? key,
- required Coin coinData,
- required double inrRate,
- Color backgroundColor = const Color(0xff18191d),
- dynamic onSecondaryTap()?,
- bool isLine = false,
- bool hideGrid = false,
- bool hideVolume = false,
- bool showNowPrice = true,
- bool isTrendLine = false,
- bool isTapShowInfoDialog = true,
- bool materialInfoDialog = true,
- bool showInfoDialog = true,
- Color? intervalSelectedTextColor,
- Color? intervalUnselectedTextColor,
- double? intervalTextSize,
- MainAxisAlignment? intervalAlignment,
Implementation
CandleChart({
Key? key,
required this.coinData,
required this.inrRate,
this.backgroundColor = const Color(0xff18191d),
this.onSecondaryTap,
this.isLine = false,
this.hideGrid = false,
this.hideVolume = false,
this.showNowPrice = true,
this.isTrendLine = false,
this.isTapShowInfoDialog = true,
this.materialInfoDialog = true,
this.showInfoDialog = true,
this.intervalSelectedTextColor,
this.intervalUnselectedTextColor,
this.intervalTextSize,
this.intervalAlignment,
}) : super(key: key);