|
@ -4,7 +4,10 @@ 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_colors.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/check_platform.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/check_platform.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_image.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_image.dart'; |
|
|
|
|
|
import 'package:hadi_hoda_flutter/core/utils/my_localization.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/screen_size.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/screen_size.dart'; |
|
|
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/button/enum/button_type.dart'; |
|
|
|
|
|
import 'package:hadi_hoda_flutter/core/widgets/button/my_button.dart'; |
|
|
import 'package:hadi_hoda_flutter/features/home/presentation/bloc/home_bloc.dart'; |
|
|
import 'package:hadi_hoda_flutter/features/home/presentation/bloc/home_bloc.dart'; |
|
|
|
|
|
|
|
|
class HomePage extends StatelessWidget { |
|
|
class HomePage extends StatelessWidget { |
|
@ -77,17 +80,16 @@ class HomePage extends StatelessWidget { |
|
|
size: checkSize(context: context, tablet: 120), |
|
|
size: checkSize(context: context, tablet: 120), |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
|
|
|
MyButton( |
|
|
|
|
|
type: ButtonType.type2, |
|
|
|
|
|
title: context.translate.start, |
|
|
|
|
|
), |
|
|
InkWell( |
|
|
InkWell( |
|
|
|
|
|
onTap: () => context.read<HomeBloc>().showAboutUs(context), |
|
|
child: MyImage( |
|
|
child: MyImage( |
|
|
image: MyAssets.button, |
|
|
|
|
|
size: checkSize(context: context, mobile: 90, tablet: 160), |
|
|
|
|
|
|
|
|
image: MyAssets.theme, |
|
|
|
|
|
size: checkSize(context: context, tablet: 120), |
|
|
), |
|
|
), |
|
|
onTap: () => |
|
|
|
|
|
BlocProvider.of<HomeBloc>(context).goToLevelPage(context), |
|
|
|
|
|
), |
|
|
|
|
|
MyImage( |
|
|
|
|
|
image: MyAssets.theme, |
|
|
|
|
|
size: checkSize(context: context, tablet: 120), |
|
|
|
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|