|
|
@ -1,11 +1,11 @@ |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:go_router/go_router.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/theme/my_theme.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/core/routers/my_routes.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/screen_size.dart'; |
|
|
|
import 'package:hadi_hoda_flutter/features/home/presentation/bloc/home_bloc.dart'; |
|
|
|
|
|
|
|
class HomePage extends StatelessWidget { |
|
|
|
const HomePage({super.key}); |
|
|
@ -79,9 +79,8 @@ class HomePage extends StatelessWidget { |
|
|
|
image: MyAssets.start, |
|
|
|
size: checkSize(context: context, mobile: 90, tablet: 160), |
|
|
|
), |
|
|
|
onTap: () { |
|
|
|
context.goNamed(Routes.questionPage); |
|
|
|
}, |
|
|
|
onTap: () => |
|
|
|
BlocProvider.of<HomeBloc>(context).goToLevelPage(context), |
|
|
|
), |
|
|
|
MyImage( |
|
|
|
image: MyAssets.theme, |
|
|
|