build method

Widget build(
  1. BuildContext context,
  2. String group
)

Implementation

Widget build(BuildContext context, String group) {
  final state = WidgetbookState.of(context);
  final groupMap = FieldCodec.decodeQueryGroup(state.queryParams[group]);
  final value = valueFrom(groupMap);

  return toWidget(context, group, value);
}