Skip to content

Conversation

ib-8
Copy link
Contributor

@ib-8 ib-8 commented Jan 31, 2023

Error: 'package:flutter/src/widgets/basic.dart': Failed assertion: line 3294 pos 15: 'aspectRatio > 0.0': is not true.

When height is 0, aspect ratio error occurs. By returning aspect ratio is 1 when height is 0 then the problem gets solved.

Copy link
Owner

@Sub6Resources Sub6Resources left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

@Sub6Resources Sub6Resources merged commit ed75f8f into Sub6Resources:master May 9, 2023
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