4
answers
1
watching
120
views

Using Flutter 2.7.10 (latest one) and Android Studio Electric Eel | 2022.1.1 Patch 1. Ran this Flutter program located in this Google Storage drive since it has so many parts to the program 

I got the error message below. Also attached screenshot of the error msg

Please run the program located in that Google Storage drive.

Because it works for some people, but not for others. Some people  get the error msg -

Other people it works fine. We all have the same flutter version and Android Studio. We are all using Windows 10 and 11.

Null check operator used on a null value

When the exception was thrown, this was the stack: 
#0      _TaskListPageState.getUID.<anonymous closure> (package:todolist/pages/tasklist/tasklist.dart:25:17)
#1      State.setState (package:flutter/src/widgets/framework.dart:1133:30)
#2      _TaskListPageState.getUID (package:todolist/pages/tasklist/tasklist.dart:24:5)
#3      _TaskListPageState.initState (package:todolist/pages/tasklist/tasklist.dart:18:5)
#4      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5101:55)
#5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#7      Element.updateChild (package:flutter/src/widgets/framework.dart:3676:20)
#8      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993:16)
#9      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#10     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#11     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#12     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:863:21)
#13     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#14     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#15     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#16     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1076:5)
#17     _invoke (dart:ui/hooks.dart:145:13)
#18     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
#19     _drawFrame (dart:ui/hooks.dart:112:31)

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in

Related questions

Weekly leaderboard

Start filling in the gaps now
Log in