Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Jan 27, 2024
1 parent 370c6f1 commit fdd3d53
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

```yaml
dependencies:
screen_capturer: ^0.1.7
screen_capturer: ^0.2.0
```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Add this to your package's pubspec.yaml file:

```yaml
dependencies:
screen_capturer: ^0.1.7
screen_capturer: ^0.2.0
```
Or
Expand Down
5 changes: 5 additions & 0 deletions packages/screen_capturer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.1

* feat: Convert to federated plugin #29
* feat: Support on KDE Plasma desktop (use spectacle command) #27

## 0.1.7

* fix: build in web #23
Expand Down
2 changes: 1 addition & 1 deletion packages/screen_capturer/lib/src/screen_capturer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ScreenCapturer {
///
/// Returns a [CapturedData] object with the image path, width, height and base64 encoded image
Future<CapturedData?> capture({
required CaptureMode mode,
CaptureMode mode = CaptureMode.region,
String? imagePath,
bool copyToClipboard = true,
bool silent = true,
Expand Down
4 changes: 2 additions & 2 deletions packages/screen_capturer/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: screen_capturer
description: This plugin allows Flutter desktop apps to Retrieve information about screen size, displays, cursor position, etc.
version: 0.2.0
description: This plugin allows Flutter desktop apps to capture screenshots.
version: 0.2.1
homepage: https://github.com/leanflutter/screen_capturer

platforms:
Expand Down

0 comments on commit fdd3d53

Please sign in to comment.