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