BlocHubProvider constructor

const BlocHubProvider({
  1. Key? key,
  2. required BlocHub blocHub,
  3. required Widget child,
})

Creates a BlocHubProvider that injects blocHub into the widget tree.

Implementation

const BlocHubProvider({
  Key? key,
  required this.blocHub,
  required Widget child,
}) : super(key: key, child: child);