File tree Expand file tree Collapse file tree 5 files changed +30
-2
lines changed Expand file tree Collapse file tree 5 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+ include : package:flutter_lints/flutter.yaml
2
+
3
+ analyzer :
4
+ exclude :
5
+ # Ignore generated files
6
+ - ' **/*.g.dart'
7
+ - ' lib/src/generated/*.dart'
8
+ linter :
9
+ rules :
10
+ - public_member_api_docs
Original file line number Diff line number Diff line change @@ -4,10 +4,13 @@ import 'package:flutter/material.dart';
4
4
import 'package:flutter/services.dart' ;
5
5
import 'package:google_api_availability/google_api_availability.dart' ;
6
6
7
- void main () => runApp (MyApp ());
7
+ void main () => runApp (const MyApp ());
8
8
9
9
///Creates the mutable state for this widget
10
10
class MyApp extends StatefulWidget {
11
+ ///Named [key] parameter to identify a widget
12
+ const MyApp ({Key ? key}) : super (key: key);
13
+
11
14
@override
12
15
_MyAppState createState () => _MyAppState ();
13
16
}
Original file line number Diff line number Diff line change @@ -27,13 +27,27 @@ packages:
27
27
description: flutter
28
28
source: sdk
29
29
version: "0.0.0"
30
+ flutter_lints:
31
+ dependency: "direct dev"
32
+ description:
33
+ name: flutter_lints
34
+ url: "https://pub.dartlang.org"
35
+ source: hosted
36
+ version: "1.0.4"
30
37
google_api_availability:
31
38
dependency: "direct dev"
32
39
description:
33
40
path: ".."
34
41
relative: true
35
42
source: path
36
43
version: "3.0.1"
44
+ lints:
45
+ dependency: transitive
46
+ description:
47
+ name: lints
48
+ url: "https://pub.dartlang.org"
49
+ source: hosted
50
+ version: "1.0.1"
37
51
meta:
38
52
dependency: transitive
39
53
description:
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ dependencies:
13
13
dev_dependencies :
14
14
google_api_availability :
15
15
path : ../
16
+ flutter_lints : 1.0.4
16
17
17
18
flutter :
18
19
uses-material-design : true
Original file line number Diff line number Diff line change 1
1
name : google_api_availability
2
2
description : A Flutter plugin to check the availability of Google Play Services on an Android device.
3
- version : 3.0.1
3
+ version : 3.0.2
4
4
homepage : https://github.com/baseflowit/flutter-google-api-availability
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments