build method
Implementation
Widget build(BuildContext context, Widget child) {
// State can be null in Scenarios, in that case group will be null,
// causing valueFromQueryGroup to return initialValue.
final state = WidgetbookState.maybeOf(context);
final group = state?.queryGroups[groupName];
final newSetting = valueFromQueryGroup(group);
return apply(
context,
child,
newSetting,
);
}