CandleChart constructor

CandleChart({
  1. Key? key,
  2. required Coin coinData,
  3. required double inrRate,
  4. Color backgroundColor = const Color(0xff18191d),
  5. dynamic onSecondaryTap()?,
  6. bool isLine = false,
  7. bool hideGrid = false,
  8. bool hideVolume = false,
  9. bool showNowPrice = true,
  10. bool isTrendLine = false,
  11. bool isTapShowInfoDialog = true,
  12. bool materialInfoDialog = true,
  13. bool showInfoDialog = true,
  14. Color? intervalSelectedTextColor,
  15. Color? intervalUnselectedTextColor,
  16. double? intervalTextSize,
  17. 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);