Superformula Flutter test Completed (David Saborio Alvarado) #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello team, I glad to present my version of the Superformula Flutter test
To get started, please follow these steps, run:
This command installs all the necessary dependencies listed in the
pubspec.yaml
file. It ensures that all required packages are available for your project to build and run correctly.Next, run:
This command executes code generation using the
build_runner
tool. It generates files based on annotations and configurations in the project. The--delete-conflicting-outputs
flag ensures that any outdated or conflicting generated files are removed, keeping your codebase up-to-date.If you want to run the tests, execute:
This command runs the test cases defined in your project to verify that the code behaves as expected. It’s essential for ensuring that your application functions correctly and meets quality standards.
My version of the app:
I started by getting the yelp data:
From my understanding of the challenge, I was suppose to use the already done repository + models so I didn’t do much over there.
This happens really quick so I added a (not needed) delay just to be able to see the loading screen a bit more
I followed the design but didn’t implemented the Color, themes, etc clases that would normally use on an application.
Favorite restaurants
Details Page for each restaurant:
Thank you.