DepthChart constructor

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

Implementation

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