LegendCellPadding.fromTRBLPx constructor
const
LegendCellPadding.fromTRBLPx()
Creates padding in pixels from the top, right, bottom, and left.
Implementation
const LegendCellPadding.fromTRBLPx(
this.topPx,
this.rightPx,
this.bottomPx,
this.leftPx,
) : topPct = null,
rightPct = null,
bottomPct = null,
leftPct = null;