Skip to content

This is a Quiz App With Timer In Flutter

Notifications You must be signed in to change notification settings

quandat10/flutter-quizstar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

Coming SOON

About

This is a Quiz App With Timer In Flutter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 92.0%
  • Objective-C 3.8%
  • Shell 2.3%
  • Java 1.9%