An open API service indexing awesome lists of open source software.

https://github.com/rayyanazmi/quiz-app

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.
https://github.com/rayyanazmi/quiz-app

android-application application-development dart flutter flutter-widgets

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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](https://github.com/user-attachments/assets/e534e33e-c51f-44e3-ae0d-d681ae0aef98)

2. **Question Screen**:

![Screenshot 2024-10-31 155649](https://github.com/user-attachments/assets/8a51a11f-5d6a-4f66-bf9f-74a02a47e0fb)

3. **Result Screen**:
4.
![Screenshot 2024-10-31 155723](https://github.com/user-attachments/assets/17617235-1a1a-46f6-90b6-a129b9440283)

## 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:
```bash
git clone https://github.com/yourusername/flutter-quiz-app.git
```
2. Navigate to the project directory:
```bash
cd flutter-quiz-app
```
3. Run the app:
```bash
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.