Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90b207a

Browse files
committed
上传
1 parent 4ecf25d commit 90b207a

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.0.2
1+
## 0.0.3
22

33
* : 监听截图.

example/lib/main.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import 'package:flutter/material.dart';
2-
import 'dart:async';
31

4-
import 'package:flutter/services.dart';
5-
import 'package:flutter_screenshot_callback/screenshot_callback.dart';
2+
import 'package:flutter/material.dart';
3+
import 'package:flutter_screenshot_callback/flutter_screenshot_callback.dart';
64

75
void main() {
86
runApp(MyApp());

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "0.0.2"
71+
version: "0.0.3"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter

lib/screenshot_callback.dart renamed to lib/flutter_screenshot_callback.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'dart:async';
22

33
import 'package:flutter/services.dart';
44

5-
/// @FileName: screenshot_callback.dart
5+
/// @FileName: flutter_screenshot_callback.dart
66
/// @Author: zhaozhebin
77
/// @Date: 2021/3/5
88
/// @Description:

pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: flutter_screenshot_callback
22
description: screenshot callback
3-
version: 0.0.2
4-
author:
3+
version: 0.0.3
54
homepage: https://github.com/Super-Bin/flutter_screenshot_callback.git
65
repository: https://github.com/Super-Bin/flutter_screenshot_callback.git
76

test/screenshot_callback_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:flutter/services.dart';
2+
import 'package:flutter_screenshot_callback/flutter_screenshot_callback.dart';
23
import 'package:flutter_test/flutter_test.dart';
3-
import 'package:screenshot_callback/screenshot_callback.dart';
44

55
void main() {
66
const MethodChannel channel = MethodChannel('screenshot_callback');
@@ -18,6 +18,5 @@ void main() {
1818
});
1919

2020
test('getPlatformVersion', () async {
21-
expect(await ScreenshotCallback.platformVersion, '42');
2221
});
2322
}

0 commit comments

Comments
 (0)