LoginBlocProvider<T extends ModBloc<ModBaseDTO, dynamic>?> constructor

const LoginBlocProvider<T extends ModBloc<ModBaseDTO, dynamic>?>({
  1. Key? key,
  2. required Widget child,
  3. required T bloc,
})

Implementation

const LoginBlocProvider({super.key, required this.child, required this.bloc}) : assert(bloc != null);