Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
song.chao committed Jan 31, 2024
1 parent 206e2cf commit 6017c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion docs/v2/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class MyApp extends StatefulWidget {
State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
class _MyAppState extends State<MyApp> {
final iminPrinter = IminPrinter();
@override
void initState() {
Expand Down
10 changes: 0 additions & 10 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,8 @@ class _MyAppState extends State<MyApp> {
});
}
});
// getDeviceUseSDKVersion();
}

// /// 获取设备应该使用哪个版本SDK
// Future<void> getDeviceUseSDKVersion() async {
// bool? v = await iminPrinter.getUseSdkVersion();
// setState(() {
// version = v;
// });

// }

@override
Widget build(BuildContext context) {
return MaterialApp(
Expand Down

0 comments on commit 6017c33

Please sign in to comment.