8000 package:flutter/src/widgets/framework.dart': Failed assertion: line 5022 pos 16: 'child is! ParentDataElement<ParentData>': is not true · Issue #70769 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
package:flutter/src/widgets/framework.dart': Failed assertion: line 5022 pos 16: 'child is! ParentDataElement<ParentData>': is not true #70769
Closed
@bogdy9912

Description

@bogdy9912

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was
Scaffold
lib\screens\auth_screen.dart:28
When the exception was thrown, this was the stack
#2 ParentDataElement._applyParentData.applyParentDataToChild
package:flutter/…/widgets/framework.dart:5022
#3 ComponentElement.visitChildren
package:flutter/…/widgets/framework.dart:4681
#4 ParentDataElement._applyParentData
package:flutter/…/widgets/framework.dart:5026
#5 ParentDataElement.notifyClients
package:flutter/…/widgets/framework.dart:5070
#6 ProxyElement.updated
package:flutter/…/widgets/framework.dart:4997
...
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
Incorrect use of ParentDataWidget.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
Each child must be laid out exactly once.
The relevant error-causing widget was
Scaffold
lib\screens\auth_screen.dart:28
════════════════════════════════════════════════════════════════════════════════

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0