Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onboarding page #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

onboarding page #6

wants to merge 1 commit into from

Conversation

ffrryy
Copy link

@ffrryy ffrryy commented Nov 15, 2022

add onboarding page.
WhatsApp Image 2022-11-16 at 22 09 30
WhatsApp Image 2022-11-16 at 22 09 51
WhatsApp Image 2022-11-16 at 22 11 28

@irvanalfaridzi irvanalfaridzi self-requested a review November 15, 2022 14:44
@irvanalfaridzi irvanalfaridzi linked an issue Nov 15, 2022 that may be closed by this pull request
@irvanalfaridzi
Copy link
Contributor

@ffrryy can you upload the screenshot or a video sample of your working result in your PR description please, thanks

Copy link
Contributor

@irvanalfaridzi irvanalfaridzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate it 🙌🏻 especially for the app_size_config.dart. It will be helping us to manage the width and height. There are a few comments from me, you can take a look at them.

# - images/a_dot_ham.jpeg
assets:
- assets/images/
- assets/icons/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like the icon folder still not existing on the project. You can remove this line

@@ -12,7 +12,7 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Food App',
initialRoute: AppRoutes.mainPage,
initialRoute: AppRoutes.onBording,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can change onBording with onBoarding. We should use the proper name for naming the variable

const Spacer(flex: 3),
BaseButton(
buttonColor: AppColor.mainColor,
child: Container(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use SizedBox for whitespace instead of Container

import 'package:food_app/utils/app_size_config.dart';

class OnBordingScreen extends StatelessWidget {
final String onBording;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can remove this, also the required below. Don't forget to check the app_router.dart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an onboarding screen
2 participants