This is a Quiz App With Timer In Flutter

Overview

Quizstar !

This is a Complete Quiz App in FLUTTER using a lot of features such as

  • Multiple Screens

  • Timer (30 sec By Default)

  • Button Color Changes On Click

  • Result Page

  • Questions From JSON

  • Random Questions Genration Added

And a lot more...

Watch The Complete Tutorial Here

In English

In Hindi

Star It And Play With The Code

Here Are A Few Screenshots From The App

The Card Page

A Simple Quiz Page

When A Button Is Clicked

The Result Page

Latest Commit

  1. Migrated To AndroidX
  2. Added Array Random Generation By Default as Most Of You Were Asking This

Changelog/Commit 01

  1. Updated Descriptions

  2. Added JSON Files to Open for Diffrent Cards / Languages

  3. Fixed The Code for Checking Answers..

Changelog/Commit 02

  1. Updated Code To Pick Questions Randomly
  // extra variable to iterate
  int j = 1;
  // to create the array elements randomly use the dart:math Module
  // --- CODE ---
  // ----- USE THIS IS CODE IF YOU WANT TO GENERATE ARRAY RANDOMLY -----

    // import 'dart:math';
    //   var random_array;
    //   var distinctIds = [];
    //   var rand = new Random();
    //     for (int i = 0; ;) {
    //     distinctIds.add(rand.nextInt(10));
    //       random_array = distinctIds.toSet().toList();
    //       if(random_array.length < 10){
    //         continue;
    //       }else{
    //         break;
    //       }
    //     }
    //   print(random_array);

  var random_array = [1, 6, 7, 2, 4, 10, 8, 3, 9, 5];
  1. Changed Button Click Timer To 1 Second ( 2 sec Earlier )
    Timer(Duration(seconds: 1), nextquestion);
  1. Many Asked How To Increase And Decrease timer Timer ! Just Change The Timer Variable's Value
    int timer = 30;

Changelog/Commit 03

  1. Migrated To AndroidX
  2. Added Array Random Generation By Default as Most Of You Were Asking This

Changelog/Commit 04

  1. Solved An Issue Of Cheating LoopHole : https://github.com/desi-programmer/flutter-quizstar/issues/2

  2. Disabled Multiple Button Pressed After Answering

Changelog/Commit 05

Coming Soon

Comments
  • Could you specify the license that applies to the code?

    Could you specify the license that applies to the code?

    Hi, thank you for putting together such a nice app. Would you be able to add a license to the code? I would like to use it in a project but unless there is a license associated to it I am afraid I can not. I see Github explains what possible licenses you can use in here

    opened by xanguera 1
  • Cheating loophole

    Cheating loophole

    It looks like as it is set up right now you can spam the first answer and it moves you all the way to the ends. (For a 10question quiz, Tapping the first correct answer 10 times lands you on the result page with perfect score.

    It also allows for greater than 100% score if you can tap more times in the 2 seconds window between switching questions

    opened by Tylercastle 1
  • Check Answer Function

    Check Answer Function

    #1: Right now the answer checking is set up like this . checkanswer(string k){ If(mydata[2]["1"] == mydata["1"][k]) ... As a result the only answer that reads as correct is option B). You had it correct in the other app you showed in your video.

    opened by Tylercastle 1
  • Random error comes while clicking answers.>>> Assertion failed 378:10 data! = null

    Random error comes while clicking answers.>>> Assertion failed 378:10 data! = null "A non null string must be provided to a Text widget"

    Random error comes while clicking answers.>>> Assertion failed 378:10 data! = null "A non null string must be provided to a Text widget" then after 10 seconds or so next question appers but that question that showed error is counted as marked wrong

    opened by sandeepnarula999 0
  •  i am getting a error after running the defalt app

    i am getting a error after running the defalt app

    non-null String must be provided to a Text widget. 'package:flutter/src/widgets/text.dart': Failed assertion: line 370 pos 10: 'data != null' The relevant error-causing widget was quizpage li

    please solve my issue ...

    opened by kaiwalyaharkare 7
  • Embed quizzes in youtube videos with flutter application

    Embed quizzes in youtube videos with flutter application

    Hi, It is not an issue as such, just related to your project title. Just want to know if there is a way to embed quizzes in YouTube videos with flutter application.

    opened by nisarshah 1
Owner
Prince
A neutrino in this world of Electrons and Protons.
Prince
This is Stop Watch Timer for flutter plugin.🏃‍♂️

stop_watch_timer Simple CountUp timer / CountDown timer. It easily create app of stopwatch. https://pub.dev/packages/stop_watch_timer Example code See

shohei 75 Nov 9, 2022
Stop Watch - Stop Watch Timer in Flutter

timerapp A new Flutter project. Getting Started This project is a starting point

MD Omar Faruk. 0 Jan 27, 2022
Chroneum - A Neumorphic Flutter timer and chronometer

Chroneum! A nice Flutter Neumorphic timer and chronometer. More Details The appl

Alessandro 2 Apr 4, 2022
Aplicativo de teste que roda em background timer atual utilizando Isolate.

# isolate_app A new Flutter project. ## Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

Isaque Santos Paixão 1 Jun 20, 2022
Neha Tanwar 4 Feb 2, 2022
Debounce builder, debounce timer

Debounce builder, debounce timer Features debounce builder - Widget provides debounce function from DebounceTimer instance debounce timer

Pokhodyun Alexander 2 Dec 22, 2022
A dart timer that can be configured to fire once or repeatedly with ability start, stop, resume and cancel.

A timer that can be configured to fire once or repeatedly with ability start, stop, resume and cancel. Getting started Add CompleteTimer to your pubsp

MohammadAminZamani.afshar 3 Jul 20, 2022
A Quiz App Made With Flutter & Open Trivia DB

Quizzler by Divit Vaghani Final Year B.C.A Project (Quizzler) Api Open Trivia Ap

divit vaghani 1 Dec 22, 2021
Fluttery - the source code of a quiz app about Flutter

Fluttery This repository aims to store the source code of a quiz app about Flutt

Naomi Lago 3 May 11, 2022
Quizlet-Flutter - A quiz app tests the analyzing Information on Financial Statements (True or False)

Quizlet-Flutter This is a simple Quizlet mobile application testing your financi

null 1 Jan 19, 2022
A quiz app with true/false questions.

Quizzler App built while completing 'Flutter Development Bootcamp with Dart' course available on HiDevs. https://hidevs.net/course/the-complete-flutte

Srishti 0 Dec 30, 2021
Hassan 1 Sep 27, 2022
A quiz-app bundled with Provider package for state management.

quiz_app A quiz-app bundled with Provider package for state management. Implemented Features MVVM (Provider+ChangeNotifiers) state sharing and state m

null 3 Jul 26, 2022
This is Quiz application. I developed this project using flutter.

first_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Darshit Rudani 9 Jul 6, 2022
Courses-app-flutter - Flutter App - Courses App UI

Courses App A new Flutter project. Design: https://dribbble.com/shots/16149674-Course-learning-app-ui-ux/attachments/8004958?mode=media Getting Starte

Juan Daniel Rios Ramirez 0 Jan 2, 2022
Taxi App Client App - Taxi Rouge App With Flutter

taxi_rouge_app A new Flutter application. Getting Started This project is a star

Bouchida Youssef 3 Jun 11, 2022
Book app - Book app UI with dark mode enabled, also this app created using the Flutter 2.5 skeleton template

BOOK APP Book app UI with dark mode enabled, also this app created using the Flu

Gülsen Keskin 5 Nov 9, 2022
A Flutter app to show how to implement in-app purchase using the in-app-purchase package

Flutter in-app purchase A Flutter project to show to implement in-app purchase using the in_app_purchase package Simple UI but it's okay ?? ?? WhatsAp

António Nicolau 5 Jul 26, 2022