-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
New Property allowPanning
#766
Conversation
@johnpryan could you please merge this? |
It looks like there's still a few analysis errors:
|
* Add new required environment spec Otherwise flutter throws an error and abort building. Fixes fleaflet#774 * Update usage of API for text colors As suggested by joselbr2099 the API have changed in flutter. Replace only colors parameter with textColor. Fixes fleaflet#774
* remove mbtiles and sqlflite dependency * remove mbtiles tile provider + sqflite dependency fixes fleaflet#786 * remove example/test/widget_test
Hi @johnpryan I pulled in the latest changes and I now only see some warnings concnering Scaffold messenger. |
What flutter channel are you using? The Travis check uses stable. I think you need to run |
Uups, yeah I m on master but I have dartfmt switched to automatic. Will do tomorrow Am 06.01.2021 22:38 schrieb John Ryan <notifications@github.com>:
What flutter channel are you using? The Travis check uses stable.
I think you need to run dartfmt to make the Travis check green.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
yep, one file wasn't formated properly |
..strokeJoin = StrokeJoin.round | ||
..blendMode = BlendMode.dstOut; | ||
Paint filterPaint; | ||
if (polylineOpt.borderColor != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, that's from an much older commit. I recall that I got null reference exceptions when borderColor wasn't set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you see any problem with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, just harder to review :)
canvas.saveLayer(rect, Paint()); | ||
if (borderPaint != null) { | ||
_paintLine(canvas, polylineOpt.offsets, borderPaint); | ||
if (filterPaint != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the follow up from the above
Added a new property to be able to disable panning while still keep the View interactive and added a safety check on PolylinePainter