LegendCellPadding.fromLTRBPct constructor

const LegendCellPadding.fromLTRBPct(
  1. double? leftPct,
  2. double? topPct,
  3. double? rightPct,
  4. double? bottomPct,
)

Creates padding in percents from the left, top, right, and bottom.

Implementation

const LegendCellPadding.fromLTRBPct(
  this.leftPct,
  this.topPct,
  this.rightPct,
  this.bottomPct,
)   : leftPx = null,
      topPx = null,
      rightPx = null,
      bottomPx = null;