Skip to content
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

SDK: 2.12 version casting problem #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kenjishiromajp
Copy link

@kenjishiromajp kenjishiromajp commented Mar 19, 2021

Hi guys I'm having this issue because of the new version.

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following _CastError was thrown building
InnerDrawer-[LabeledGlobalKey<InnerDrawerState>#4b9dd](dirty, dependencies: [_InheritedTheme,
MediaQuery, _EffectiveTickerMode, _LocalizationsScope-[GlobalKey#f63de]], state:
InnerDrawerState#d2fd7(ticker inactive)):
type 'List<Widget?>' is not a subtype of type 'List<Widget>' in type cast

The problem is caused because of casting, it's a simple fix and it works... can you guys have a look?

@kenjishiromajp kenjishiromajp changed the title 2.12 version casting problem SDK: 2.12 version casting problem Mar 19, 2021
@mixable
Copy link

mixable commented Apr 10, 2021

I can confirm that the changes of this request solves the issue. I have the same CastError when using the latest version in combination with SDK 2.12.

@pythoneer
Copy link

Can i help to further push a merge and a release to this PR? The fix looks good to me and works for the cases i have tested and is equivalent to the one i made without noticing this one here thus having closed it in favor to this one being merged faster.

@deakjahn
Copy link

Another small nag... Publish it, please...

@mixable
Copy link

mixable commented Jun 26, 2021

@Dn-a how can we support you to publish these changes?

@Allyanora
Copy link

Hi, when do you think this fix will this merged? I have two apps based on this package and cannot run it at all without this small fix.

Is there an issue why one of these pull request fixing this issue wasn't merged until now? If so, can you please tell us how can we help to fix this asap?
Thank you.

Gabe-Codes added a commit to Gabe-Codes/flutter_inner_drawer that referenced this pull request Jul 3, 2024
This fork combines the fixes from the following pull requests:

kenjishiromajp:kenjishiromajp-update-for-2.12-null-safety-casting:
Dn-a#69

Smibser:fix-deprectaed-theme-backgroundColor:
Dn-a#82
amerchDev added a commit to amerchDev/flutter_inner_drawer that referenced this pull request Jul 10, 2024
This commit combines the fixes from the following pull requests:

kenjishiromajp:kenjishiromajp-update-for-2.12-null-safety-casting: Dn-a#69

Smibser:fix-deprectaed-theme-backgroundColor:
Dn-a#82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants