|
|
|
@ -13,6 +13,7 @@ import 'package:hadi_hoda_flutter/core/utils/screen_size.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/utils/set_platform_size.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/fade_anim.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/fade_anim_controller.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/fade_anim_delayed.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/globe_animation.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/slide_anim.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/animations/slide_up_fade.dart'; |
|
|
|
@ -94,7 +95,9 @@ class _QuestionScreenState extends State<QuestionScreen> with TickerProviderStat |
|
|
|
children: [ |
|
|
|
Spacer(), |
|
|
|
BlocBuilder<QuestionBloc, QuestionState>( |
|
|
|
builder: (context, state) => FadeAnimController( |
|
|
|
builder: (context, state) => FadeAnimDelayed( |
|
|
|
duration: Duration(seconds: 1), |
|
|
|
child: FadeAnimController( |
|
|
|
key: Key('${state.currentQuestion?.image}'), |
|
|
|
controller: context.read<QuestionBloc>().imageAnimationController, |
|
|
|
child: AnswerPictureBox( |
|
|
|
@ -107,6 +110,7 @@ class _QuestionScreenState extends State<QuestionScreen> with TickerProviderStat |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Spacer(), |
|
|
|
], |
|
|
|
); |
|
|
|
|