Description
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
════════════════════════════════════════════════════════════════════════════════