AddonConfig constructor

const AddonConfig(
  1. String key,
  2. String value
)

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);