-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Icon' was called on null #1
Comments
i had the same question,and had emil writer |
by the way have you resolved this ? |
I have not, been working on other items. I'll address when when I get a chance.
…Sent from my iPhone
On Mar 27, 2020, at 10:40 AM, suo801 <[email protected]> wrote:
by the way have you resolved this ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOM2REGX3NE4KGLH3CB7MWTRJTCFHANCNFSM4KVHVSLA>.
|
Thank you. I will keep an eye on the results. And I'm working on it myself |
wow,i just resolved.i made it! 我去掉了列表赋值 |
Hi there , it's not work @suo801 , do you have another solve for it ? |
In curved_drawer.dart, replace to map by :
|
Thank you vilain-corentin, i had the same issue and this resolved my issue |
It isn't working. Is there any other way to solve this? |
It isn't working, is there another way to solve this? |
None of them are working :( |
#5 Put a return statement or replace it with arrow function |
Please write the whole updated code. |
Please write the whole code |
just change code in the line just like this photo that will resolve problem |
This flutter dependency is showing error. |
+1 #1 (comment) works well on local. can we expect this patch to get released? currently, this plugin is unusable on CI builds that download packages on app center which won't have this patch. |
Fixed with simple solution is that
Replace with 👍
|
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building CurvedDrawer(dirty, dependencies: [Directionality, MediaQuery], state: _CurvedDrawerState#8b6a1(ticker inactive)):
The getter 'icon' was called on null.
Receiver: null
Tried calling: icon
The relevant error-causing widget was:
CurvedDrawer file:///D:/workspace/flutter/projects/kf_drawer/lib/main.dart:75:18
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _CurvedDrawerState.build. (package:curved_drawer/curved_drawer.dart:180:34)
#2 MappedListIterable.elementAt (dart:_internal/iterable.dart:417:29)
#3 ListIterable.toList (dart:_internal/iterable.dart:221:19)
#4 _CurvedDrawerState.build (package:curved_drawer/curved_drawer.dart:182:22)
The text was updated successfully, but these errors were encountered: