diff --git a/lib/features/question/presentation/ui/screens/diamond_screen.dart b/lib/features/question/presentation/ui/screens/diamond_screen.dart index dc66891..66e02a9 100644 --- a/lib/features/question/presentation/ui/screens/diamond_screen.dart +++ b/lib/features/question/presentation/ui/screens/diamond_screen.dart @@ -4,6 +4,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:hadi_hoda_flutter/common_ui/resources/my_assets.dart'; import 'package:hadi_hoda_flutter/common_ui/resources/my_colors.dart'; +import 'package:hadi_hoda_flutter/common_ui/resources/my_spaces.dart'; import 'package:hadi_hoda_flutter/common_ui/resources/my_text_style.dart'; import 'package:hadi_hoda_flutter/core/utils/gap.dart'; import 'package:hadi_hoda_flutter/core/utils/my_localization.dart'; @@ -128,37 +129,42 @@ class DiamondScreen extends StatelessWidget { ); } - Row _btns(BuildContext context) { - return Row( - children: [ - Expanded( - child: InkWell( - onTap: () => context.read().goToLevelPage(context: context), - child: Stack( - alignment: Alignment.center, - children: [ - MyImage(image: MyAssets.button3, size: 84), - Positioned( - top: 10, - child: Text( - context.translate.view_map, - style: DinoKids.regular35.copyWith( - color: Color(0XFFD93D16), + Widget _btns(BuildContext context) { + return Padding( + padding: EdgeInsets.only( + bottom: MediaQuery.viewPaddingOf(context).bottom + MySpaces.s16, + ), + child: Row( + children: [ + Expanded( + child: InkWell( + onTap: () => context.read().goToLevelPage(context: context), + child: Stack( + alignment: Alignment.center, + children: [ + MyImage(image: MyAssets.button3, size: 84), + Positioned( + top: 10, + child: Text( + context.translate.view_map, + style: DinoKids.regular35.copyWith( + color: Color(0XFFD93D16), + ), ), ), - ), - ], + ], + ), ), ), - ), - Expanded( - child: MyButton( - onTap: () => context.read().add(GetNextLevelEvent()), - title: context.translate.go_next, - type: ButtonType.type2, + Expanded( + child: MyButton( + onTap: () => context.read().add(GetNextLevelEvent()), + title: context.translate.go_next, + type: ButtonType.type2, + ), ), - ), - ], + ], + ), ); } }