Skip to content

Commit dcd724c

Browse files
committed
Fixed linter issue
1 parent e4c082d commit dcd724c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

open_file_mac/example/lib/main.dart

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

3+
import 'package:flutter/material.dart';
54
import 'package:open_file_mac/open_file_mac.dart';
65

7-
8-
96
void main() => runApp(MyApp());
107

118
class MyApp extends StatefulWidget {
@@ -17,13 +14,13 @@ class _MyAppState extends State<MyApp> {
1714
var _openResult = 'Unknown';
1815

1916
Future<void> openFile() async {
20-
final result = await OpenFileMac().open("/Users/chendong/Downloads/R-C.jpeg");
17+
final result =
18+
await OpenFileMac().open("/Users/chendong/Downloads/R-C.jpeg");
2119
setState(() {
2220
_openResult = "type=${result.type} message=${result.message}";
2321
});
2422
}
2523

26-
2724
@override
2825
Widget build(BuildContext context) {
2926
return MaterialApp(

0 commit comments

Comments
 (0)