issues
search
satudora-dev
/
bloc_sample
bloc pattern sample code
0
stars
0
forks
source link
アニメーションに関するBLoCを親BLoCで操作するようにする
#7
Open
TetsuFe
opened
5 years ago
TetsuFe
commented
5 years ago
WHY
BlocMerpayViewで使われる3種類のBLoC(親BLoC「MerpayModalBloC」」を含めると4種類)のうち、MerpayModalAnimationBlocだけが親BLoCから操作する形になっていない(独立している)
どこで使われるのか明示的でない
WHAT
MerpayModalAnimationBlocを親BLoC「MerpayModalBloC」から操作するようにする
疑問
MerpayModalAnimationBlocは別のBLoCと状態を共有するわけではないので、本当に親BLoCで持つべきかわからない(ヨシオ)
ただ、どのビューで使うかをわかりやすくするためには親BLoCから操作する形にする方がわかりやすいとは思う(ヨシオ)
TetsuFe
commented
5 years ago
6 のリファクタにあたります
WHY
WHAT
疑問