Bloc7 Q
Q:¶
問題1: 在這段程式碼中,context.watch
問題2: BlocBuilder
問題3: context.read
問題4: 為什麼在 ElevatedButton 的 onPressed 屬性中使用 context.read
問題5: 為什麼在 Text 小部件中使用 ‘\({counterBloc.state}' 和 '\)state’?
Last update :
13 novembre 2024
Created : 13 novembre 2024
Created : 13 novembre 2024