UnitStyle constructor
const
UnitStyle({
- required Unit unit,
- UnitDisplay unitDisplay = UnitDisplay.short,
Implementation
const UnitStyle({
required this.unit,
this.unitDisplay = UnitDisplay.short,
});