Dim.percent constructor

const Dim.percent(
  1. double? value, [
  2. bool important = false
])

Percentage unit.

Implementation

const Dim.percent(this.value, [this.important = false]) : unit = '%';