NiceStockChart constructor

const NiceStockChart({
  1. Key? key,
  2. required List<NiceStockData> data,
  3. double? height = 300,
  4. bool showVolume = true,
  5. Color upColor = const Color(0xFF4CAF50),
  6. Color downColor = const Color(0xFFF44336),
  7. bool animated = true,
})

Implementation

const NiceStockChart({
  super.key,
  required this.data,
  this.height = 300,
  this.showVolume = true,
  this.upColor = const Color(0xFF4CAF50),
  this.downColor = const Color(0xFFF44336),
  this.animated = true,
});