Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
qcm_screen.dart File Reference
import package;
import material.dart;
import flutter_bloc.dart;
import flutter_screenutil.dart;
import core;
import ui;
import widgets;
import custom_scaffold.dart;
import faild_to_fetch_data_view.dart;
import domain;
import entities;
import qcm_entity.dart;
import logic;
import cubit;
import elearning_v2_cubit.dart;
Include dependency graph for qcm_screen.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

override void initState ()
void _loadQuestions ()
override Widget build (BuildContext context)
Widget _buildBody (ElearningV2State state)
Widget _buildQuizQuestion (List< QcmEntity > questions)
Widget _buildQuizResults (List< QcmEntity > questions)

Variables

class QcmScreen extends StatefulWidget _currentQuestionIndex = 0
List< int?> _userAnswers = []
bool _quizCompleted = false
double _score = 0.0

Function Documentation

◆ _buildBody()

Widget _buildBody ( ElearningV2State state)

Definition at line 58 of file qcm_screen.dart.

Here is the call graph for this function:

◆ _buildQuizQuestion()

Widget _buildQuizQuestion ( List< QcmEntity > questions)

Definition at line 81 of file qcm_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _buildQuizResults()

Widget _buildQuizResults ( List< QcmEntity > questions)

Definition at line 264 of file qcm_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _loadQuestions()

void _loadQuestions ( )

Definition at line 38 of file qcm_screen.dart.

Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 43 of file qcm_screen.dart.

Here is the call graph for this function:

◆ initState()

override void initState ( )

Definition at line 33 of file qcm_screen.dart.

Here is the call graph for this function:

Variable Documentation

◆ _currentQuestionIndex

class QcmScreen extends StatefulWidget _currentQuestionIndex = 0

◆ _quizCompleted

bool _quizCompleted = false

Definition at line 29 of file qcm_screen.dart.

◆ _score

double _score = 0.0

Definition at line 30 of file qcm_screen.dart.

◆ _userAnswers

List<int?> _userAnswers = []

Definition at line 28 of file qcm_screen.dart.