magnification property Null safety

double magnification
final

The zoomed-in rate of the magnifier, if it is used.

The default value is 1.0, which will not change anything. If the value is > 1.0, the center item will be zoomed in by that rate, and it will also be rendered as flat, not cylindrical like the rest of the list. The item will be zoomed out if magnification < 1.0.

Must be positive.

Implementation

final double magnification;