-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
unsupported operation infinity or nan toint #524
Comments
This comment has been minimized.
This comment has been minimized.
My bad. |
I have the same issue with TabBarView, one of my slides has a TextFiled that throw the error, when go the next slide sometimes happens others no, i don find the pattern yet. |
Me too
|
@RaulUrtecho |
For anyone with a problem, a minimal test example would be useful for anyone to help. |
@RaulUrtecho |
I had the same error. I used PageView with 2 widget each of them contained text fileds. When I scrolled to the page (0 or 1) programatically (_pageController.animateToPage) I got this error. Tehnical details: _void applyPaintTransform(RenderBox child, Matrix4 transform) { So, in my case the problem was: I used 2 widgets (ScrollView pages) with "bool get wantKeepAlive => true;" to keep alive my pages, as I understood, it's not compatible with text fields for now. Solution: don't use "wantKeepAlive" for yours pages with text fields. I'm new in flutter and I hope it would be useful for someone. |
Maybe the map builder should fail early, i.e., it should throw an exception that the parent is not constrained in height. (Wrapping |
Sorry to reply a little bit late thanks indeed change this param avoid the exception. thanks man. |
Where does one put this showCursor: false, ?? |
If I remember it is a TextField property. |
Well, i didn't go that way. It just needed a width and/or a height, so I wrapped it in a Container, gave it a width and a height to work with...Done:
|
Well, i didn't go that way. It just needed a width or a height, so I wrapped it in a Container, gave it a width and a heigt to work with...Done:
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Hi I'm trying to implement the flutter_maps in my flutter application when I run the app but I have this error. what is it due to and how can i solve it?
Flutter Code:
The text was updated successfully, but these errors were encountered: