callBuilders method

  1. @protected
Widget callBuilders(
  1. BuildContext context,
  2. Widget? child
)

Calls builder callbacks on the specified child widget.

Implementation

@protected
Widget callBuilders(BuildContext context, Widget? child) {
  var built = unwrap(context, child ?? widget0);

  for (final builder in _builders) {
    built = unwrap(context, builder(context, built) ?? widget0);
  }

  return built;
}