LegendCellPadding.allPx constructor
const
LegendCellPadding.allPx(
- double value
Creates cell padding where all the offsets are value
in pixels.
Sample code
Typical eight-pixel margin on all sides:
const LegendCellPadding.allPx(8.0)
Implementation
const LegendCellPadding.allPx(double value)
: this.fromLTRBPx(value, value, value, value);