buildCustom method
Widget
buildCustom({
- ChildWidgetBuilder? childBuilder,
- required BuildContext context,
- required JsonWidgetData data,
- Key? key,
override
If the id
on the data
object is non-empty, this will ensure a
GlobalKey<FormState> is placed on the JsonWidgetRegistry using the
key: "${data.id}.key" so that handler functions can access the form's
state.
Implementation
@override
Widget buildCustom({
ChildWidgetBuilder? childBuilder,
required BuildContext context,
required JsonWidgetData data,
Key? key,
}) {
var child = getChild(data);
return _JsonFormWidget(
builder: this,
childBuilder: childBuilder,
data: data,
key: key,
child: child,
);
}