Skip to content

Commit

Permalink
fix:升级到0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JackZhang1994 committed Dec 20, 2019
1 parent 69d53a2 commit c6b7ed9
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 97 deletions.
141 changes: 55 additions & 86 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class _MyAppState extends State<MyApp> {
),
body: Column(
children: <Widget>[
FlatButton(
onPressed: () {
FlutterBtPrinter.init();
},
child: Text('初始化'),
),
// FlatButton(
// onPressed: () {
// FlutterBtPrinter.init();
// },
// child: Text('初始化'),
// ),
FlatButton(
onPressed: () {
FlutterBtPrinter.print(
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1"
version: "0.0.3"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
1 change: 1 addition & 0 deletions flutter_bt_printer.iml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<excludeFolder url="file://$MODULE_DIR$/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/example/build" />
<excludeFolder url="file://$MODULE_DIR$/example/ios/Flutter/App.framework/flutter_assets/packages" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_bt_printer
description: A new Flutter plugin.
version: 0.0.2
version: 0.0.3
author:
homepage:

Expand Down
6 changes: 3 additions & 3 deletions test/flutter_bt_printer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void main() {
channel.setMockMethodCallHandler(null);
});

test('getPlatformVersion', () async {
expect(await FlutterBtPrinter.platformVersion, '42');
});
// test('getPlatformVersion', () async {
// expect(await FlutterBtPrinter.platformVersion, '42');
// });
}

0 comments on commit c6b7ed9

Please sign in to comment.