DepthChart constructor

DepthChart({
  1. required List<DepthEntity> bids,
  2. required List<DepthEntity> asks,
  3. required DepthColors colors,
  4. int fixedLength = 2,
  5. Color? buyPathColor,
  6. Color? sellPathColor,
})

Implementation

DepthChart({
  required this.bids,
  required this.asks,
  required this.colors,
  this.fixedLength = 2,
  this.buyPathColor,
  this.sellPathColor,
});