Skip to content

A Flutter-based Quiz App that tests users' knowledge of Flutter fundamentals. Built with Dart, this app features interactive MCQs, state management using Stateless and Stateful widgets, and provides a summary of results.

Notifications You must be signed in to change notification settings

rayyanazmi/Quiz-App

Repository files navigation

Flutter Quiz App

A simple quiz application developed using the Flutter framework and Dart programming language. This project serves as a practice tool for learning about state management in Flutter by implementing Stateless and Stateful widgets.

Features

  • Interactive Quiz: Users can test their Flutter knowledge with multiple-choice questions.
  • Start Screen: Features the app logo, a brief description, and a "Start Quiz" button to begin.
  • Question Pages: Contains a total of 6 questions, each with 4 options. Users can select one option for each question.
  • Result Screen: Provides a summary of the user's performance, displaying the number of correct and incorrect answers.

Screenshots

  1. Start Screen:

    Screenshot 2024-10-31 155600

  2. Question Screen:

    Screenshot 2024-10-31 155649

  3. Result Screen:

  4. Screenshot 2024-10-31 155723

State Management

This project explores state management concepts by using:

  • Stateless Widgets for static UI components.
  • Stateful Widgets to manage dynamic content, allowing the UI to update based on user interactions.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/flutter-quiz-app.git
  2. Navigate to the project directory:
    cd flutter-quiz-app
  3. Run the app:
    flutter run

Dependencies

  • Flutter SDK
  • Dart language

How to Use

  1. Open the app and tap "Start Quiz" to begin.
  2. Answer each question by selecting the correct option.
  3. View your score on the result screen at the end of the quiz.

Contributing

Contributions are welcome! Please open a pull request to add features or improvements.

About

A Flutter-based Quiz App that tests users' knowledge of Flutter fundamentals. Built with Dart, this app features interactive MCQs, state management using Stateless and Stateful widgets, and provides a summary of results.

Topics

Resources

Stars

Watchers

Forks