Repository navigation
feat: add ExpandableAttributionLayer - #2305
Conversation
Removed unused 'position.dart'
Add `foregroundColor` to `SimpleAttributionLayer`
RichAttributionLayerExpandableAttributionLayer
…xtStyle` is passed through
Align button to bottom when expanded attribution is multi-line Shrink default attribution text size to 13
2450e7a to
6351669
Compare
|
So the approach I chose specifically meant we wouldn't have to depend on Material. To do this, I used What I didn't realise is that this is only available since Flutter 3.41.0, being introduced in flutter/flutter@6679464. That means this doesn't currently maintain backwards compatibility to Flutter 3.27. I'm reluctant to bump up to Flutter 3.41 for this release. We should keep this release as nice as possible so any of our users on really old projects at least get the update. But I'm not sure whether there's any point worrying over that. There's 3 options:
|
josxha
left a comment
There was a problem hiding this comment.
There appear to be some compile errors on Flutter 3.41 🤔
|
@josxha Literally just fixed those at the same time you commented lol. Thought |
josxha
left a comment
There was a problem hiding this comment.
I think making the package invariant of any ui library like material is a really good direction👍
Fixes #2262 & fixes #2143.
Also fixes some bugs in
SimpleAttributionLayeraround styling not being dynamic enough.This deprecates
RichAttributionLayer. The new layer is not a direct replacement - but is close. No moreSourceAttributions, the user now needs to make theText.richthemselves - but we'll provide an example.From v9, when we remove
RichAttributionLayer, we will also remove our logo from our package assets - we no longer provide the option to attribute flutter_map directly.(ignore the dropped frames at the start, that's the recording not the app)
Recording.2026-11-24.010021.mp4