Closed lukehutch closed 1 year ago
Created a dart lang issue, since this may be a compiler/runtime issue. https://github.com/dart-lang/sdk/issues/51461
@lukehutch Please check https://github.com/ionicfirebaseapp/getwidget/issues/304
Thanks, this is a dup, closing
Describe the bug
The following code compiles but causes a red screen exception at runtime:
You have to add
dynamic
to prevent this exception:To Reproduce
Put the above code in a widget tree
Expected behavior
dynamic
should not be needed here (and it's not for other GF widget types that I have tried). It's a bit shocking that this produces a runtime error.Desktop (please complete the following information):
Smartphone (please complete the following information):