Skip to content

Commit 3d40fa9

Browse files
redbrogdonfiliph
authored andcommitted
Tweaked pubspecs, linted. (flutter#113)
1 parent db963d8 commit 3d40fa9

39 files changed

+140
-139
lines changed

chrome-os-best-practices/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
strong-mode:

chrome-os-best-practices/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ class _ChatAppHomePageState extends State<ChatAppHomePage> {
5353
builder: (context, constraints) {
5454
final double width = constraints.maxWidth;
5555
debugPrint('width: $width');
56-
if (constraints.maxWidth > 800)
56+
if (constraints.maxWidth > 800) {
5757
return TwoPaneChatLayout(chatEntries: chats);
58-
else
58+
} else {
5959
return ChatListScreen(chatEntries: chats);
60+
}
6061
},
6162
),
6263
);

chrome-os-best-practices/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
async:
55
dependency: transitive
66
description:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.1.0"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -73,14 +73,14 @@ packages:
7373
name: pedantic
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "1.5.0"
76+
version: "1.7.0"
7777
quiver:
7878
dependency: transitive
7979
description:
8080
name: quiver
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "2.0.2"
83+
version: "2.0.3"
8484
sky_engine:
8585
dependency: transitive
8686
description: flutter
@@ -127,7 +127,7 @@ packages:
127127
name: test_api
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "0.2.4"
130+
version: "0.2.5"
131131
typed_data:
132132
dependency: transitive
133133
description:

chrome-os-best-practices/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies:
2323
# The following adds the Cupertino Icons font to your application.
2424
# Use with the CupertinoIcons class for iOS style icons.
2525
cupertino_icons: ^0.1.2
26-
pedantic: 1.5.0
26+
pedantic: 1.7.0
2727

2828
dev_dependencies:
2929
flutter_test:

flutter_maps_firestore/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
strong-mode:

flutter_maps_firestore/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
async:
55
dependency: transitive
66
description:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.1.0"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -115,14 +115,14 @@ packages:
115115
name: pedantic
116116
url: "https://pub.dartlang.org"
117117
source: hosted
118-
version: "1.5.0"
118+
version: "1.7.0"
119119
quiver:
120120
dependency: transitive
121121
description:
122122
name: quiver
123123
url: "https://pub.dartlang.org"
124124
source: hosted
125-
version: "2.0.2"
125+
version: "2.0.3"
126126
sky_engine:
127127
dependency: transitive
128128
description: flutter
@@ -169,7 +169,7 @@ packages:
169169
name: test_api
170170
url: "https://pub.dartlang.org"
171171
source: hosted
172-
version: "0.2.4"
172+
version: "0.2.5"
173173
typed_data:
174174
dependency: transitive
175175
description:

flutter_maps_firestore/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
dev_dependencies:
1717
flutter_test:
1818
sdk: flutter
19-
pedantic: ^1.5.0
19+
pedantic: ^1.7.0
2020

2121
flutter:
2222
uses-material-design: true

isolate_example/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
strong-mode:

isolate_example/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
async:
55
dependency: transitive
66
description:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.1.0"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -73,7 +73,7 @@ packages:
7373
name: pedantic
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "1.5.0"
76+
version: "1.7.0"
7777
provider:
7878
dependency: "direct main"
7979
description:
@@ -87,7 +87,7 @@ packages:
8787
name: quiver
8888
url: "https://pub.dartlang.org"
8989
source: hosted
90-
version: "2.0.2"
90+
version: "2.0.3"
9191
sky_engine:
9292
dependency: transitive
9393
description: flutter
@@ -134,7 +134,7 @@ packages:
134134
name: test_api
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "0.2.4"
137+
version: "0.2.5"
138138
typed_data:
139139
dependency: transitive
140140
description:

isolate_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
dev_dependencies:
1515
flutter_test:
1616
sdk: flutter
17-
pedantic: ^1.5.0
17+
pedantic: ^1.7.0
1818

1919

2020
flutter:

jsonexample/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
exclude:

jsonexample/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
analyzer:
55
dependency: transitive
@@ -28,7 +28,7 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.1.0"
31+
version: "2.2.0"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
@@ -304,7 +304,7 @@ packages:
304304
name: pedantic
305305
url: "https://pub.dartlang.org"
306306
source: hosted
307-
version: "1.5.0"
307+
version: "1.7.0"
308308
pool:
309309
dependency: transitive
310310
description:
@@ -332,7 +332,7 @@ packages:
332332
name: quiver
333333
url: "https://pub.dartlang.org"
334334
source: hosted
335-
version: "2.0.2"
335+
version: "2.0.3"
336336
shelf:
337337
dependency: transitive
338338
description:
@@ -407,7 +407,7 @@ packages:
407407
name: test_api
408408
url: "https://pub.dartlang.org"
409409
source: hosted
410-
version: "0.2.4"
410+
version: "0.2.5"
411411
timing:
412412
dependency: transitive
413413
description:
@@ -458,4 +458,4 @@ packages:
458458
source: hosted
459459
version: "2.1.15"
460460
sdks:
461-
dart: ">=2.2.0 <3.0.0"
461+
dart: ">=2.2.2 <3.0.0"

jsonexample/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dev_dependencies:
1616
build_runner: ^1.0.0
1717
built_value_generator: ^6.1.5
1818
json_serializable: ^2.2.1
19-
pedantic: ^1.5.0
19+
pedantic: ^1.7.0
2020

2121
flutter_test:
2222
sdk: flutter

place_tracker/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
strong-mode:

place_tracker/lib/place_list.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ class _PlaceListTile extends StatelessWidget {
7373
Widget build(BuildContext context) {
7474
return InkWell(
7575
onTap: () => Navigator.push<void>(
76-
context,
77-
MaterialPageRoute(builder: (context) {
78-
return PlaceDetails(
79-
place: place,
80-
onChanged: (value) => onPlaceChanged(value),
81-
);
82-
}),
83-
),
76+
context,
77+
MaterialPageRoute(builder: (context) {
78+
return PlaceDetails(
79+
place: place,
80+
onChanged: (value) => onPlaceChanged(value),
81+
);
82+
}),
83+
),
8484
child: Container(
8585
padding: EdgeInsets.only(top: 16.0),
8686
child: Column(

place_tracker/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
async:
55
dependency: transitive
66
description:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.1.0"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -94,14 +94,14 @@ packages:
9494
name: pedantic
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "1.5.0"
97+
version: "1.7.0"
9898
quiver:
9999
dependency: transitive
100100
description:
101101
name: quiver
102102
url: "https://pub.dartlang.org"
103103
source: hosted
104-
version: "2.0.2"
104+
version: "2.0.3"
105105
sky_engine:
106106
dependency: transitive
107107
description: flutter
@@ -148,7 +148,7 @@ packages:
148148
name: test_api
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "0.2.4"
151+
version: "0.2.5"
152152
typed_data:
153153
dependency: transitive
154154
description:

place_tracker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
20-
pedantic: ^1.5.0
20+
pedantic: ^1.7.0
2121

2222
flutter:
2323
assets:

platform_design/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:pedantic/analysis_options.yaml
1+
include: package:pedantic/analysis_options.1.7.0.yaml
22

33
analyzer:
44
strong-mode:

platform_design/lib/songs_tab.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ class _SongsTabState extends State<SongsTab> {
6565
color: color,
6666
heroAnimation: AlwaysStoppedAnimation(0),
6767
onPressed: () => Navigator.of(context).push<void>(
68-
MaterialPageRoute(
69-
builder: (context) => SongDetailTab(
70-
id: index,
71-
song: songNames[index],
72-
color: color,
73-
),
74-
),
68+
MaterialPageRoute(
69+
builder: (context) => SongDetailTab(
70+
id: index,
71+
song: songNames[index],
72+
color: color,
7573
),
74+
),
75+
),
7676
),
7777
),
7878
);

platform_design/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by pub
2-
# See https://www.dartlang.org/tools/pub/glossary#lockfile
2+
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
44
async:
55
dependency: transitive
66
description:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.1.0"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -87,14 +87,14 @@ packages:
8787
name: pedantic
8888
url: "https://pub.dartlang.org"
8989
source: hosted
90-
version: "1.5.0"
90+
version: "1.7.0"
9191
quiver:
9292
dependency: transitive
9393
description:
9494
name: quiver
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "2.0.2"
97+
version: "2.0.3"
9898
sky_engine:
9999
dependency: transitive
100100
description: flutter
@@ -141,7 +141,7 @@ packages:
141141
name: test_api
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "0.2.4"
144+
version: "0.2.5"
145145
typed_data:
146146
dependency: transitive
147147
description:

0 commit comments

Comments
 (0)