builder static method

Widget builder({
  1. required Widget builder(
    1. BuildContext context,
    2. Widget child
    ),
  2. required Widget child,
})

Implementation

static Widget builder({
  required Widget Function(BuildContext context, Widget child) builder,
  required Widget child,
}) =>
    Builder(
      builder: (context) => builder(
        context,
        child,
      ),
    );