You could extract your Scaffold into a new widget, or wrap it with a Builder.
Scaffold
Builder
context.read<SportsBloc>().add(GetRegisterEvent()) in onTap is using the BuildContext of RegisterScreen which is above BlocProvider
context.read<SportsBloc>().add(GetRegisterEvent())
onTap
BuildContext
RegisterScreen
BlocProvider