LegendCellPadding.fromLTRBPx constructor

const LegendCellPadding.fromLTRBPx(
  1. double? leftPx,
  2. double? topPx,
  3. double? rightPx,
  4. double? bottomPx,
)

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

Implementation

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