-
Notifications
You must be signed in to change notification settings - Fork 140
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
[macos]: Failed assertion: line 267 pos 15: 'margin == null || margin.isNonNegative': is not true. #134
Comments
I have same problem.Is there any solution intro_slider: ^3.0.4 sdk: ">=2.12.0 <3.0.0" |
@kimmy214 which version you are using? |
I added library as example.I changed asset file only. List slides = []; @OverRide
} void onDonePress() { @OverRide |
oh, I see [macos] at the title thread, did you guys mean the issue happening when run macOS (desktop) environment? |
macos, I guess IOS smilator. I decided to use other library. |
Thanks, @ozhankucuk for your report, but I can't reproduce the issue. |
thanks :) |
I had the same problem, and I ended up discovering that the cause was not in the IntroSlider, but in my logic... The List(Slide) was empty, which ended up generating this problem :') For some reason, when building the screen, the List(Slide) didn't have time to fill in, which causes the problem... I forced it into an async method using await, and it worked (with FutureBuilder), because in my case the information is not static. Pay attention to @initstate setting the information correctly. |
The text was updated successfully, but these errors were encountered: