HookBuilder constructor Null safety

const HookBuilder(
  1. {required Widget builder(
    1. BuildContext context
    ),
  2. Key? key}
)

Creates a widget that delegates its build to a callback.

The builder argument must not be null.

Implementation

const HookBuilder({
  required this.builder,
  Key? key,
}) : super(key: key);