Dim.variable constructor
Variable (e.g. variable name: --naki-primary-color).
Implementation
const Dim.variable(String variableName, {String? defaultValue})
: this(
null,
unit: defaultValue != null && defaultValue != ''
? 'var($variableName, $defaultValue)'
: 'var($variableName)',
);