Over the past few years, society has increasingly changed. Many tools are becoming more common, especially in online education. It is obvious that quizzes are one of them. They help with concentration, identify gaps in knowledge, build confidence and help people retain information. What’s more, they’re fun!
This is the reason why we should use quizzes.
This is a Quiz App for iOS and Android that will assess your general knowledge. As one of the most popular types of apps on the app stores, Furthermore, you may design your own quiz for other people to enjoy.
What I learnt while making this quizzler app
One of the most important things is what I learned while making this app. See them below:
- Modularising code into separate classes.
- Dart classes and objects.
- Using class constructors.
- Extracting Widgets to refactor your code.
- private and public modifiers in Dart.
- How to use Dart lists.
- The difference between var, const and final.
Code Snippet for Project
Question('Some cats are actually allergic to humans', true), Question('You can lead a cow down stairs but not up stairs.', false), Question('Approximately one quarter of human bones are in the feet.', true), Question('A slug\'s blood is green.', true), Question('Buzz Aldrin\'s mother\'s maiden name was \"Moon\".', true), Question('It is illegal to pee in the Ocean in Portugal.', true), Question( 'No piece of square dry paper can be folded in half more than 7 times.', false), Question( 'In London, UK, if you happen to die in the House of Parliament, you are technically entitled to a state funeral, because the building is considered too sacred a place.', true), Question( 'The loudest sound produced by any animal is 188 decibels. That animal is the African Elephant.', false), Question( 'The total surface area of two human lungs is approximately 70 square metres.', true), Question('Google was originally called \"Backrub\".', true), Question( 'Chocolate affects a dog\'s heart and nervous system; a few ounces are enough to kill a small dog.', true), Question( 'In West Virginia, USA, if you accidentally hit an animal with your car, you are free to take it home to eat.', true),