Search packages, repositories and app categories

GitHub repositorydesi-programmer/flutter-quizstar

flutter-quizstar

This is a Quiz App With Timer In Flutter

flutter-quizstar project cover
Stars
219
Forks
74
Last push (UTC)
Jan 12, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Prince GitHub avatar
GitHub author

Prince ↗

A neutrino in this world of Electrons and Protons.

LanguagesDartKotlinSwiftObjective-C

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • cupertino_icons^0.1.2
  • flutter_testDevelopment{"sdk":"flutter"}

Rankings

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗