half property

double get half

Returns half of this number as double.

Useful for responsive sizing or spacing in layouts. Example: 300.half -> 150.0.

Implementation

double get half => this / 2;