这样从BlocProvider开始的子树的任何Widget都将能够通过以代码访问IncrementBloc: IncrementBloc bloc = BlocProvider.of<IncrementBloc>(context); ...
確定! 回上一頁