-
-
Notifications
You must be signed in to change notification settings - Fork 867
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 #409
Comments
decision is to set height to Container: return Scaffold(
appBar: AppBar(
title: Text('Test'),
),
drawer: GuestDrawer(),
body: Column(children: <Widget>[
Container(
// here
height: 100,
alignment: Alignment.centerLeft,
child: FlutterMap( |
Doesn't work for me. I can put any height in there and it crashes the same way. |
Have you tried v4 ? |
Sorry, my bad. I was using |
i was so confused because the exception thrown was pointing on I/flutter (16858): #0 double.toInt (dart:core-patch/double.dart:183:36) so first thing came on my thought was there is a problem with my coordinates :D anyway putting the map widget in a container and specifying its height did the job 👍 |
widget code:
error stack:
The text was updated successfully, but these errors were encountered: