Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Set ScreenshotOptions constructor as const (#179)
Browse files Browse the repository at this point in the history
* snapshot to screenshot

* added screenshot options

* fixed import

* const contruct
  • Loading branch information
ggalambas authored Jul 8, 2024
1 parent 2c7a9ef commit d68d1dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions packages/atlas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# atlas

## v3.0.0 (2024-06-01)
## v3.0.1 (2024-07-08)

- Set `ScreenShotOptions` constructor as const

## v3.0.0 (2024-07-08)

- Merged `getScreenShot` and `takeSnapshot` methods of the `AtlasController`
- Renamed `ViewportOptions` to `Viewpoint`

## v2.0.0 (2024-06-01)
## v2.0.0 (2024-07-01)

- Added support for `Snapshots`
- Created new object `ViewportOptions`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ScreenShotOptions {
final Heatmap? heatmap;
final bool traffic;

ScreenShotOptions({
const ScreenShotOptions({
this.mapType = MapType.normal,
this.showUserLocation = false,
this.markers = const {},
Expand Down
2 changes: 1 addition & 1 deletion packages/atlas/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: atlas
description: An extensible map abstraction for Flutter with support for multiple map providers
version: 3.0.0
version: 3.0.1
repository: https://github.com/bmw-tech/atlas
issue_tracker: https://github.com/bmw-tech/atlas/issues
homepage: https://bmw-tech.github.io/atlas
Expand Down

0 comments on commit d68d1dd

Please sign in to comment.