/quizstar

Primary LanguageC++MIT LicenseMIT

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

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 : desi-programmer/flutter-quizstar#2

  2. Disabled Multiple Button Pressed After Answering

Changelog/Commit 05

Coming Soon