Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
qcm_screen.dart File Reference
import package;
import core;
import localization;
import app_localizations.dart;
import ui;
import theme;
import color_palette.dart;
import material.dart;
import flutter_bloc.dart;
import flutter_screenutil.dart;
import screens;
import views;
import faild_to_fetch_data_view.dart;
import widgets;
import custom_scaffold.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 60 of file qcm_screen.dart.

Here is the call graph for this function:

◆ _buildQuizQuestion()

Widget _buildQuizQuestion ( List< QcmEntity > questions)

Definition at line 83 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 269 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 40 of file qcm_screen.dart.

Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 45 of file qcm_screen.dart.

Here is the call graph for this function:

◆ initState()

override void initState ( )

Definition at line 35 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 31 of file qcm_screen.dart.

◆ _score

double _score = 0.0

Definition at line 32 of file qcm_screen.dart.

◆ _userAnswers

List<int?> _userAnswers = []

Definition at line 30 of file qcm_screen.dart.