build method

Widget build({
  1. ChildWidgetBuilder? childBuilder,
  2. required BuildContext context,
})

Convenience method that can build the widget this data object represents. This is the equilivant of calling: builder.build and padding this in as the data parameter.

Implementation

Widget build({
  ChildWidgetBuilder? childBuilder,
  required BuildContext context,
}) {
  return builder().build(
    childBuilder: childBuilder,
    context: context,
    data: this,
  );
}