sizeX property

double? sizeX

🧮 Horizontal size in logical pixels to provide as space for this IconToo.

Unlike an Icon.size this double only represents the resolution of in one axis, X.

Gets _trueSize.width if initialized, otherwise gets _sizeX if assigned. May be null.

Rendered IconToo defaults to the current IconTheme.of size, if any, itself defaulting to 24.0.

Implementation

double? get sizeX => _trueSize?.width ?? _sizeX;