Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Code clean up, additional lints #1594

Merged
merged 19 commits into from
Aug 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
revert list mapping
  • Loading branch information
josxha committed Jul 31, 2023
commit f73cb9cadc2e3dfa5ca2e1243e4b4ec41cd6c4f0
7 changes: 4 additions & 3 deletions lib/src/layer/overlay_image_layer.dart
Original file line number Diff line number Diff line change
@@ -149,9 +149,10 @@ class OverlayImageLayer extends StatelessWidget {
final map = MapCamera.of(context);
return ClipRect(
child: Stack(
children: overlayImages
.map((image) => image.buildPositionedForOverlay(map))
.toList(growable: false),
children: <Widget>[
for (var overlayImage in overlayImages)
overlayImage.buildPositionedForOverlay(map),
],
),
);
}