AddonConfig constructor
Creates a new AddonConfig using a key
and a value
.
Given the following Widgetbook URL:
/?text-scale={factor:2.0}
Then this would be:
const AddonConfigEntry('text-scale', 'factor:2.0');
You can use other pre-defined entries for first-cla=ss addons that are provided by Widgetbook.
Implementation
const AddonConfig(this.key, this.value);