important property

Dim get important

This dimension with the !important declaration.

Example usage:

final dim = Dim.px(12).important;
print(dim.cssText); // Output: '12px !important'

Implementation

Dim get important => isImportant ? this : copyWith(important: true);