DepthChart constructor

DepthChart(
  1. List<DepthEntity> bids,
  2. List<DepthEntity> asks,
  3. DepthChartColors chartColors, {
  4. int baseUnit = 2,
  5. int quoteUnit = 6,
  6. Offset offset = const Offset(8, 0),
  7. DepthChartTranslations chartTranslations = const DepthChartTranslations(),
  8. DepthChartStyle chartStyle = const DepthChartStyle(),
})

Implementation

DepthChart(
  this.bids,
  this.asks,
  this.chartColors, {
  this.baseUnit = 2,
  this.quoteUnit = 6,
  this.offset = const Offset(8, 0),
  this.chartTranslations = const DepthChartTranslations(),
  this.chartStyle = const DepthChartStyle(),
});