unit property Null safety

String? unit
final, inherited

Optional unit the value is measured in.

Unit must be acceptable to display immediately after a number with no spaces. For example: 'physical pixels per logical pixel' should be a tooltip not a unit.

Implementation

final String? unit;