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

Fix: fix dart type error when attach flex layout underneath of Flutter ListView #650

Merged
merged 23 commits into from
Sep 9, 2024

Conversation

andycall
Copy link
Member

@andycall andycall commented Aug 19, 2024

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following _TypeError was thrown during performLayout():
type 'ParentData' is not a subtype of type 'RenderLayoutParentData' in type cast

The relevant error-causing widget was:
  WebF WebF:file:///Users/user/Desktop/Binance/webf/webf/example/lib/main.dart:214:16

When the exception was thrown, this was the stack:
#0      RenderFlexLayout._needToStretchChildCrossSize (package:webf/src/rendering/flex.dart:2243:69)
#1      RenderFlexLayout._getAutoMinSize (package:webf/src/rendering/flex.dart:491:38)
#2      RenderFlexLayout._getMinMainAxisSize (package:webf/src/rendering/flex.dart:369:28)

@andycall andycall force-pushed the fix/parent_data_error branch 2 times, most recently from a1a6b00 to 472de8c Compare September 2, 2024 10:18
@andycall andycall merged commit a3f733b into main Sep 9, 2024
29 checks passed
@andycall andycall deleted the fix/parent_data_error branch September 9, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants