HelpDesk

HelpDesk Support System

DTLearning: Online Learning Courses - Books - Quiz LMS Flutter App (Android-iOS-Web)with Admin Panel

Q:

Question explanation is not showing and in options error showing

Closed public

Hello sir,

  • in the application quiz explanation is not showing
  • and in options when long text error 
  • please make page scrollable and text box  size auto increase of question and options
  • how to apply negative marking
  • can i show answer sheet instead of exam time answer show
  • there is timer missing


All Replies

Viewing 17 to 20 of total 28 topics

pubspec and quizzy file are attached

Document

17_10_2024_57_6710fd8880cc2.zip


splash screen showing in mobile application is not running


Performing hot restart...

Syncing files to device M2012K11I...

I/ForceDarkHelperStubImpl(23658): setViewRootImplForceDark: false for com.example.yourappname.MainActivity@aec6d, reason: DarkModeEnabled

D/AppScoutStateMachine(23658): 23658-ScoutStateMachinecreated

D/MiuiMonitorThread(23658): Shared singleton Thread for stability monitor start

W/libc    (23658): Access denied finding property "vendor.display.enable_optimal_refresh_rate"

E/OpenGLRenderer(23658): Unable to match the desired swap behavior.

W/libc    (23658): Access denied finding property "vendor.display.enable_optimal_refresh_rate"

D/VRI[MainActivity](23658): vri.reportNextDraw android.view.ViewRootImpl.performTraversals:4360 android.view.ViewRootImpl.doTraversal:2989 android.view.ViewRootImpl$TraversalRunnable.run:10304 android.view.Choreographer$CallbackRecord.run:1594 android.view.Choreographer$CallbackRecord.run:1603 

D/SurfaceView(23658): UPDATE Surface(name=SurfaceView[com.quiz.nursing/com.example.yourappname.MainActivity]#7552)/@0xa92e5d, mIsProjectionMode = false

D/VRI[MainActivity](23658): vri.Setup new sync=wmsSync-VRI[MainActivity]#5

D/VRI[MainActivity](23658): vri.reportDrawFinished

I/HandWritingStubImpl(23658): refreshLastKeyboardType: 1

I/HandWritingStubImpl(23658): getCurrentKeyboardType: 1

Restarted application in 4,689ms.

[log] prefLocale: en

I/flutter (23658): initializeHiveBoxes userId ==> null

I/flutter (23658): hiveDownloadBox ============> DOWNLOADS

I/flutter (23658): hiveSeasonDownloadBox ======> DOWNLOAD_SEASON

I/flutter (23658): hiveEpiDownloadBox =========> DOWNLOAD_EPISODE

E/flutter (23658): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DioException [bad response]: This exception was thrown because the response has a status code of 500 and RequestOptions.validateStatus was configured to throw for this status code.

E/flutter (23658): The status code of 500 has the following meaning: "Server error - the server failed to fulfil an apparently valid request"

E/flutter (23658): Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

E/flutter (23658): In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

E/flutter (23658): 

E/flutter (23658): #0      DioMixin.fetch (package:dio/src/dio_mixin.dart:519:7)

E/flutter (23658):

E/flutter (23658): #1      ApiService.genaralSetting (package:yourappname/webservice/apiservice.dart:80:25)

E/flutter (23658):

E/flutter (23658): #2      GeneralProvider.getGeneralsetting (package:yourappname/provider/generalprovider.dart:39:27)

E/flutter (23658):

E/flutter (23658): #3      SplashState.getApi (package:yourappname/pages/splash.dart:31:5)

E/flutter (23658):

E/flutter (23658): 




Could you kindly provide a screenshot of your pubspec.yaml & quize.dart file? This will help me understand your configuration better and assist you more effectively.


Thank you, and I look forward to your response.

Regards,
Mr. Vraj

after replacing the quize.dart file error showing:


Launching lib\main.dart on M2012K11I in debug mode...

Running Gradle task 'assembleDebug'...

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply


You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply


Invalid depfile: D:\Apps_Data\DTL_NursingExamAPP\App_code2\Mainfiles\App Code\YourAppName\.dart_tool\flutter_build\f39198ebe2e47b0eafc7864f23c1c8a7\kernel_snapshot.d

Invalid depfile: D:\Apps_Data\DTL_NursingExamAPP\App_code2\Mainfiles\App Code\YourAppName\.dart_tool\flutter_build\f39198ebe2e47b0eafc7864f23c1c8a7\kernel_snapshot.d

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/pages/nodata.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/provider/coursedetailsprovider.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/provider/quizeprovider.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/quize/leaderboard.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/utils/utils.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/utils/color.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/utils/dimens.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/utils/sharedpre.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/widget/myimage.dart'.

Error: Couldn't resolve the package 'dtlearning' in 'package:dtlearning/widget/mytext.dart'.

lib/quize/quize.dart:1:8: Error: Not found: 'package:dtlearning/pages/nodata.dart'

import 'package:dtlearning/pages/nodata.dart';

       ^

lib/quize/quize.dart:2:8: Error: Not found: 'package:dtlearning/provider/coursedetailsprovider.dart'

import 'package:dtlearning/provider/coursedetailsprovider.dart';

       ^

lib/quize/quize.dart:3:8: Error: Not found: 'package:dtlearning/provider/quizeprovider.dart'

import 'package:dtlearning/provider/quizeprovider.dart';

       ^

lib/quize/quize.dart:4:8: Error: Not found: 'package:dtlearning/quize/leaderboard.dart'

import 'package:dtlearning/quize/leaderboard.dart';

       ^

lib/quize/quize.dart:5:8: Error: Not found: 'package:dtlearning/utils/utils.dart'

import 'package:dtlearning/utils/utils.dart';

       ^

lib/quize/quize.dart:9:8: Error: Not found: 'package:dtlearning/utils/color.dart'

import 'package:dtlearning/utils/color.dart';

       ^

lib/quize/quize.dart:10:8: Error: Not found: 'package:dtlearning/utils/dimens.dart'

import 'package:dtlearning/utils/dimens.dart';

       ^

lib/quize/quize.dart:11:8: Error: Not found: 'package:dtlearning/utils/sharedpre.dart'

import 'package:dtlearning/utils/sharedpre.dart';

       ^

lib/quize/quize.dart:12:8: Error: Not found: 'package:dtlearning/widget/myimage.dart'

import 'package:dtlearning/widget/myimage.dart';

       ^

lib/quize/quize.dart:13:8: Error: Not found: 'package:dtlearning/widget/mytext.dart'

import 'package:dtlearning/widget/mytext.dart';

       ^

lib/quize/quize.dart:31:3: Error: Type 'SharedPre' not found.

  SharedPre sharePref = SharedPre();

  ^^^^^^^^^

lib/quize/quize.dart:32:8: Error: Type 'QuizeProvider' not found.

  late QuizeProvider quizeProvider;

       ^^^^^^^^^^^^^

lib/quize/quize.dart:33:8: Error: Type 'CourseDetailsProvider' not found.

  late CourseDetailsProvider courseDetailsProvider;

       ^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:31:3: Error: 'SharedPre' isn't a type.

  SharedPre sharePref = SharedPre();

  ^^^^^^^^^

lib/quize/quize.dart:31:25: Error: Method not found: 'SharedPre'.

  SharedPre sharePref = SharedPre();

                        ^^^^^^^^^

lib/quize/quize.dart:32:8: Error: 'QuizeProvider' isn't a type.

  late QuizeProvider quizeProvider;

       ^^^^^^^^^^^^^

lib/quize/quize.dart:33:8: Error: 'CourseDetailsProvider' isn't a type.

  late CourseDetailsProvider courseDetailsProvider;

       ^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:39:33: Error: 'QuizeProvider' isn't a type.

    quizeProvider = Provider.of(context, listen: false);

                                ^^^^^^^^^^^^^

lib/quize/quize.dart:41:21: Error: 'CourseDetailsProvider' isn't a type.

        Provider.of(context, listen: false);

                    ^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:100:22: Error: 'QuizeProvider' isn't a type.

      body: Consumer(builder: (context, quizeprovider, child) {

                     ^^^^^^^^^^^^^

lib/quize/quize.dart:110:28: Error: Couldn't find constructor 'NoData'.

              return const NoData();

                           ^^^^^^

lib/quize/quize.dart:113:26: Error: Couldn't find constructor 'NoData'.

            return const NoData();

                         ^^^^^^

lib/quize/quize.dart:66:13: Error: The getter 'Utils' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Utils'.

          ? Utils.webMainAppbar()

            ^^^^^

lib/quize/quize.dart:73:18: Error: The method 'MyText' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'MyText'.

          title: MyText(

                 ^^^^^^

lib/quize/quize.dart:76:26: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

            fontsizeWeb: Dimens.textMedium,

                         ^^^^^^

lib/quize/quize.dart:77:29: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

            fontsizeNormal: Dimens.textMedium,

                            ^^^^^^

lib/quize/quize.dart:89:24: Error: The method 'MyImage' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'MyImage'.

                child: MyImage(

                       ^^^^^^^

lib/quize/quize.dart:93:26: Error: The getter 'gray' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'gray'.

                  color: gray,

                         ^^^^

lib/quize/quize.dart:102:18: Error: The getter 'Utils' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Utils'.

          return Utils.pageLoader();

                 ^^^^^

lib/quize/quize.dart:104:29: Error: The getter 'getQuestionByChapterModel' isn't defined for the class 'Object?'.

 - 'Object' is from 'dart:core'.

Try correcting the name to the name of an existing getter, or defining a getter or field named 'getQuestionByChapterModel'.

          if (quizeprovider.getQuestionByChapterModel.status == 200 &&

                            ^^^^^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:105:29: Error: The getter 'getQuestionByChapterModel' isn't defined for the class 'Object?'.

 - 'Object' is from 'dart:core'.

Try correcting the name to the name of an existing getter, or defining a getter or field named 'getQuestionByChapterModel'.

              quizeprovider.getQuestionByChapterModel.result != null) {

                            ^^^^^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:106:32: Error: The getter 'getQuestionByChapterModel' isn't defined for the class 'Object?'.

 - 'Object' is from 'dart:core'.

Try correcting the name to the name of an existing getter, or defining a getter or field named 'getQuestionByChapterModel'.

            if ((quizeprovider.getQuestionByChapterModel.result?.length ?? 0) >

                               ^^^^^^^^^^^^^^^^^^^^^^^^^

lib/quize/quize.dart:260:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:262:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:331:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:333:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:402:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:404:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:473:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:475:52: Error: Undefined name 'white'.

                                  size: 22, color: white)

                                                   ^^^^^

lib/quize/quize.dart:144:26: Error: The getter 'gray' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'gray'.

                  color: gray.withOpacity(0.15),

                         ^^^^

lib/quize/quize.dart:154:23: Error: The method 'MyText' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'MyText'.

                      MyText(

                      ^^^^^^

lib/quize/quize.dart:164:41: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                        fontsizeNormal: Dimens.textSmall,

                                        ^^^^^^

lib/quize/quize.dart:165:38: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                        fontsizeWeb: Dimens.textSmall,

                                     ^^^^^^

lib/quize/quize.dart:171:39: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                            fontSize: Dimens.textTitle,

                                      ^^^^^^

lib/quize/quize.dart:174:38: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                        minFontSize: Dimens.textSmall,

                                     ^^^^^^

lib/quize/quize.dart:188:41: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                              fontSize: Dimens.textSmall,

                                        ^^^^^^

lib/quize/quize.dart:189:38: Error: The getter 'red' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'red'.

                              color: red,

                                     ^^^

lib/quize/quize.dart:191:40: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                          minFontSize: Dimens.textSmall,

                                       ^^^^^^

lib/quize/quize.dart:200:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        focusColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:201:38: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        splashColor: transparentColor,

                                     ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:202:41: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        highlightColor: transparentColor,

                                        ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:203:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        hoverColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:227:35: Error: The getter 'green' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'green'.

                                ? green

                                  ^^^^^

lib/quize/quize.dart:228:35: Error: The getter 'red' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'red'.

                                : red

                                  ^^^

lib/quize/quize.dart:242:49: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                      fontSize: Dimens.textDesc,

                                                ^^^^^^

lib/quize/quize.dart:245:45: Error: The getter 'white' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'white'.

                                          ? white

                                            ^^^^^

lib/quize/quize.dart:250:48: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                  minFontSize: Dimens.textSmall,

                                               ^^^^^^

lib/quize/quize.dart:271:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        focusColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:272:38: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        splashColor: transparentColor,

                                     ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:273:41: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        highlightColor: transparentColor,

                                        ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:274:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        hoverColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:298:35: Error: The getter 'green' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'green'.

                                ? green

                                  ^^^^^

lib/quize/quize.dart:299:35: Error: The getter 'red' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'red'.

                                : red

                                  ^^^

lib/quize/quize.dart:313:49: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                      fontSize: Dimens.textDesc,

                                                ^^^^^^

lib/quize/quize.dart:316:45: Error: The getter 'white' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'white'.

                                          ? white

                                            ^^^^^

lib/quize/quize.dart:321:48: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                  minFontSize: Dimens.textSmall,

                                               ^^^^^^

lib/quize/quize.dart:342:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        focusColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:343:38: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        splashColor: transparentColor,

                                     ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:344:41: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        highlightColor: transparentColor,

                                        ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:345:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        hoverColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:369:35: Error: The getter 'green' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'green'.

                                ? green

                                  ^^^^^

lib/quize/quize.dart:370:35: Error: The getter 'red' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'red'.

                                : red

                                  ^^^

lib/quize/quize.dart:384:49: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                      fontSize: Dimens.textDesc,

                                                ^^^^^^

lib/quize/quize.dart:387:45: Error: The getter 'white' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'white'.

                                          ? white

                                            ^^^^^

lib/quize/quize.dart:392:48: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                  minFontSize: Dimens.textSmall,

                                               ^^^^^^

lib/quize/quize.dart:413:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        focusColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:414:38: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        splashColor: transparentColor,

                                     ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:415:41: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        highlightColor: transparentColor,

                                        ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:416:37: Error: The getter 'transparentColor' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'transparentColor'.

                        hoverColor: transparentColor,

                                    ^^^^^^^^^^^^^^^^

lib/quize/quize.dart:440:35: Error: The getter 'green' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'green'.

                                ? green

                                  ^^^^^

lib/quize/quize.dart:441:35: Error: The getter 'red' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'red'.

                                : red

                                  ^^^

lib/quize/quize.dart:455:49: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                      fontSize: Dimens.textDesc,

                                                ^^^^^^

lib/quize/quize.dart:458:45: Error: The getter 'white' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'white'.

                                          ? white

                                            ^^^^^

lib/quize/quize.dart:463:48: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

                                  minFontSize: Dimens.textSmall,

                                               ^^^^^^

lib/quize/quize.dart:494:14: Error: The getter 'gray' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'gray'.

      color: gray.withOpacity(0.15),

             ^^^^

lib/quize/quize.dart:577:20: Error: The getter 'colorPrimary' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'colorPrimary'.

            color: colorPrimary,

                   ^^^^^^^^^^^^

lib/quize/quize.dart:579:18: Error: The method 'MyText' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'MyText'.

          child: MyText(

                 ^^^^^^

lib/quize/quize.dart:587:20: Error: The getter 'white' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'white'.

            color: white,

                   ^^^^^

lib/quize/quize.dart:589:29: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

            fontsizeNormal: Dimens.textTitle,

                            ^^^^^^

lib/quize/quize.dart:590:26: Error: The getter 'Dimens' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Dimens'.

            fontsizeWeb: Dimens.textTitle,

                         ^^^^^^

lib/quize/quize.dart:536:30: Error: The method 'LeaderBoard' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'LeaderBoard'.

                      return LeaderBoard(

                             ^^^^^^^^^^^

lib/quize/quize.dart:558:17: Error: The method 'printLog' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'printLog'.

                printLog("catch");

                ^^^^^^^^

lib/quize/quize.dart:559:17: Error: The method 'printLog' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'printLog'.

                printLog(e.toString());

                ^^^^^^^^

lib/quize/quize.dart:563:15: Error: The method 'Utils' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing method, or defining a method named 'Utils'.

              Utils().hideProgress(context);

              ^^^^^

lib/quize/quize.dart:564:15: Error: The getter 'Utils' isn't defined for the class '_QuizeState'.

 - '_QuizeState' is from 'package:yourappname/quize/quize.dart' ('lib/quize/quize.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'Utils'.

              Utils.showSnackbar(context, "fail",

              ^^^^^

Unhandled exception:

FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Adtlearning%2Fpages%2Fnodata.dart; message=StandardFileSystem only supports file:* and data:* URIs)

#0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34)

#1      asFileUri (package:vm/kernel_front_end.dart:752)

#2      writeDepfile (package:vm/kernel_front_end.dart:892)

#3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:680)

#4      starter (package:frontend_server/starter.dart:101)

#5      main (file:///C:/b/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:13)


Target kernel_snapshot failed: Exception



FAILURE: Build completed with 2 failures.


1: Task failed with an exception.

-----------

* Where:

Script 'C:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1629


* What went wrong:

Execution failed for task ':app:compileFlutterBuildDebug'.

> Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1


* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

==============================================================================


2: Task failed with an exception.

-----------

* What went wrong:

java.lang.StackOverflowError (no error message)


* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

==============================================================================


* Get more help at https://help.gradle.org


BUILD FAILED in 16s

Error: Gradle task assembleDebug failed with exit code 1

Viewing 17 to 20 of total 28 topics

Support is Online

Office hours

Monday - Friday
10:00 AM - 06:00 PM
IST (GMT +5:30)

  • Office time

    00:00:00 AM

  • Your time

    00:00:0 AM

Explore Our Support Documentation

Whether you're troubleshooting an issue or looking for step-by-step guidance, our resources are designed to empower you with the knowledge you need