blocProviders property

List<BlocProvider<Bloc>> blocProviders
final

The BlocProvider list which is converted into a tree of BlocProvider widgets.

The tree of BlocProvider widgets is created in order meaning the first BlocProvider will be the top-most BlocProvider and the last BlocProvider will be a direct ancestor of the child Widget.

Each provider's child will be discarded, so giving child to each provider makes no sense.

Implementation

final List<BlocProvider> blocProviders;