Skip to content

Commit 90cd13f

Browse files
committed
Flutter 2 compatibility and package upgrades
1 parent 6415c67 commit 90cd13f

File tree

5 files changed

+101
-115
lines changed

5 files changed

+101
-115
lines changed

example/.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-2.1.4/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]},{"name":"permission_handler","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]}],"android":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-2.1.4/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_keyboard_visibility","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.6/","dependencies":[]},{"name":"permission_handler","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-2.1.4/","dependencies":[]},{"name":"flutter_keyboard_visibility_web","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-1.0.1/","dependencies":[]}]},"dependencyGraph":[{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"permission_handler","dependencies":[]}],"date_created":"2020-12-29 23:25:41.907426","version":"1.22.4"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-3.0.0/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.0.0/","dependencies":[]},{"name":"permission_handler","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.1/","dependencies":[]}],"android":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-3.0.0/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_keyboard_visibility","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-5.0.0/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.0/","dependencies":[]},{"name":"permission_handler","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-6.1.1/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"file_picker","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/file_picker-3.0.0/","dependencies":[]},{"name":"flutter_keyboard_visibility_web","path":"/Users/danvick/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-2.0.0/","dependencies":[]}]},"dependencyGraph":[{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"permission_handler","dependencies":[]}],"date_created":"2021-03-25 13:40:00.944941","version":"2.0.3"}

example/pubspec.lock

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.5.0-nullsafety.1"
31+
version: "2.5.0"
3232
basic_utils:
3333
dependency: transitive
3434
description:
@@ -42,42 +42,42 @@ packages:
4242
name: boolean_selector
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "2.1.0-nullsafety.1"
45+
version: "2.1.0"
4646
characters:
4747
dependency: transitive
4848
description:
4949
name: characters
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.1.0-nullsafety.3"
52+
version: "1.1.0"
5353
charcode:
5454
dependency: transitive
5555
description:
5656
name: charcode
5757
url: "https://pub.dartlang.org"
5858
source: hosted
59-
version: "1.2.0-nullsafety.1"
59+
version: "1.2.0"
6060
clock:
6161
dependency: transitive
6262
description:
6363
name: clock
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.1.0-nullsafety.1"
66+
version: "1.1.0"
6767
collection:
6868
dependency: transitive
6969
description:
7070
name: collection
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "1.15.0-nullsafety.3"
73+
version: "1.15.0"
7474
community_material_icon:
7575
dependency: transitive
7676
description:
7777
name: community_material_icon
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "5.8.55"
80+
version: "5.9.55"
8181
convert:
8282
dependency: transitive
8383
description:
@@ -92,48 +92,34 @@ packages:
9292
url: "https://pub.dartlang.org"
9393
source: hosted
9494
version: "2.1.5"
95-
date_range_picker:
96-
dependency: transitive
97-
description:
98-
name: date_range_picker
99-
url: "https://pub.dartlang.org"
100-
source: hosted
101-
version: "1.0.6"
10295
datetime_picker_formfield:
10396
dependency: transitive
10497
description:
10598
name: datetime_picker_formfield
10699
url: "https://pub.dartlang.org"
107100
source: hosted
108-
version: "1.0.0"
101+
version: "2.0.0"
109102
dropdown_search:
110103
dependency: transitive
111104
description:
112105
name: dropdown_search
113106
url: "https://pub.dartlang.org"
114107
source: hosted
115-
version: "0.4.8"
108+
version: "0.5.0"
116109
fake_async:
117110
dependency: transitive
118111
description:
119112
name: fake_async
120113
url: "https://pub.dartlang.org"
121114
source: hosted
122-
version: "1.2.0-nullsafety.1"
115+
version: "1.2.0"
123116
file_picker:
124117
dependency: transitive
125118
description:
126119
name: file_picker
127120
url: "https://pub.dartlang.org"
128121
source: hosted
129-
version: "2.1.4"
130-
file_picker_platform_interface:
131-
dependency: transitive
132-
description:
133-
name: file_picker_platform_interface
134-
url: "https://pub.dartlang.org"
135-
source: hosted
136-
version: "2.0.0"
122+
version: "3.0.0"
137123
flutter:
138124
dependency: "direct main"
139125
description: flutter
@@ -152,42 +138,42 @@ packages:
152138
name: flutter_colorpicker
153139
url: "https://pub.dartlang.org"
154140
source: hosted
155-
version: "0.3.4"
141+
version: "0.4.0"
156142
flutter_datetime_picker:
157143
dependency: transitive
158144
description:
159145
name: flutter_datetime_picker
160146
url: "https://pub.dartlang.org"
161147
source: hosted
162-
version: "1.4.0"
148+
version: "1.5.0"
163149
flutter_form_builder:
164150
dependency: "direct main"
165151
description:
166152
name: flutter_form_builder
167153
url: "https://pub.dartlang.org"
168154
source: hosted
169-
version: "4.2.0"
155+
version: "5.0.0"
170156
flutter_keyboard_visibility:
171157
dependency: transitive
172158
description:
173159
name: flutter_keyboard_visibility
174160
url: "https://pub.dartlang.org"
175161
source: hosted
176-
version: "4.0.2"
162+
version: "5.0.0"
177163
flutter_keyboard_visibility_platform_interface:
178164
dependency: transitive
179165
description:
180166
name: flutter_keyboard_visibility_platform_interface
181167
url: "https://pub.dartlang.org"
182168
source: hosted
183-
version: "1.0.1"
169+
version: "2.0.0"
184170
flutter_keyboard_visibility_web:
185171
dependency: transitive
186172
description:
187173
name: flutter_keyboard_visibility_web
188174
url: "https://pub.dartlang.org"
189175
source: hosted
190-
version: "1.0.1"
176+
version: "2.0.0"
191177
flutter_localizations:
192178
dependency: transitive
193179
description: flutter
@@ -199,7 +185,7 @@ packages:
199185
name: flutter_plugin_android_lifecycle
200186
url: "https://pub.dartlang.org"
201187
source: hosted
202-
version: "1.0.6"
188+
version: "2.0.0"
203189
flutter_test:
204190
dependency: "direct dev"
205191
description: flutter
@@ -211,14 +197,14 @@ packages:
211197
name: flutter_touch_spin
212198
url: "https://pub.dartlang.org"
213199
source: hosted
214-
version: "1.0.1"
200+
version: "2.0.0-nullsafety.1"
215201
flutter_typeahead:
216202
dependency: transitive
217203
description:
218204
name: flutter_typeahead
219205
url: "https://pub.dartlang.org"
220206
source: hosted
221-
version: "1.9.1"
207+
version: "3.1.0"
222208
flutter_web_plugins:
223209
dependency: transitive
224210
description: flutter
@@ -230,7 +216,7 @@ packages:
230216
path: ".."
231217
relative: true
232218
source: path
233-
version: "0.3.0"
219+
version: "1.0.0"
234220
http:
235221
dependency: transitive
236222
description:
@@ -258,7 +244,14 @@ packages:
258244
name: intl
259245
url: "https://pub.dartlang.org"
260246
source: hosted
261-
version: "0.16.1"
247+
version: "0.17.0"
248+
js:
249+
dependency: transitive
250+
description:
251+
name: js
252+
url: "https://pub.dartlang.org"
253+
source: hosted
254+
version: "0.6.3"
262255
json_annotation:
263256
dependency: transitive
264257
description:
@@ -279,21 +272,21 @@ packages:
279272
name: matcher
280273
url: "https://pub.dartlang.org"
281274
source: hosted
282-
version: "0.12.10-nullsafety.1"
275+
version: "0.12.10"
283276
meta:
284277
dependency: transitive
285278
description:
286279
name: meta
287280
url: "https://pub.dartlang.org"
288281
source: hosted
289-
version: "1.3.0-nullsafety.3"
282+
version: "1.3.0"
290283
path:
291284
dependency: transitive
292285
description:
293286
name: path
294287
url: "https://pub.dartlang.org"
295288
source: hosted
296-
version: "1.8.0-nullsafety.1"
289+
version: "1.8.0"
297290
pedantic:
298291
dependency: transitive
299292
description:
@@ -307,14 +300,14 @@ packages:
307300
name: permission_handler
308301
url: "https://pub.dartlang.org"
309302
source: hosted
310-
version: "5.0.1+1"
303+
version: "6.1.1"
311304
permission_handler_platform_interface:
312305
dependency: transitive
313306
description:
314307
name: permission_handler_platform_interface
315308
url: "https://pub.dartlang.org"
316309
source: hosted
317-
version: "2.0.1"
310+
version: "3.1.1"
318311
petitparser:
319312
dependency: transitive
320313
description:
@@ -328,7 +321,7 @@ packages:
328321
name: plugin_platform_interface
329322
url: "https://pub.dartlang.org"
330323
source: hosted
331-
version: "1.0.3"
324+
version: "2.0.0"
332325
pointycastle:
333326
dependency: transitive
334327
description:
@@ -356,7 +349,7 @@ packages:
356349
name: signature
357350
url: "https://pub.dartlang.org"
358351
source: hosted
359-
version: "3.2.0"
352+
version: "3.2.1"
360353
sky_engine:
361354
dependency: transitive
362355
description: flutter
@@ -368,49 +361,49 @@ packages:
368361
name: source_span
369362
url: "https://pub.dartlang.org"
370363
source: hosted
371-
version: "1.8.0-nullsafety.2"
364+
version: "1.8.0"
372365
stack_trace:
373366
dependency: transitive
374367
description:
375368
name: stack_trace
376369
url: "https://pub.dartlang.org"
377370
source: hosted
378-
version: "1.10.0-nullsafety.1"
371+
version: "1.10.0"
379372
stream_channel:
380373
dependency: transitive
381374
description:
382375
name: stream_channel
383376
url: "https://pub.dartlang.org"
384377
source: hosted
385-
version: "2.1.0-nullsafety.1"
378+
version: "2.1.0"
386379
string_scanner:
387380
dependency: transitive
388381
description:
389382
name: string_scanner
390383
url: "https://pub.dartlang.org"
391384
source: hosted
392-
version: "1.1.0-nullsafety.1"
385+
version: "1.1.0"
393386
term_glyph:
394387
dependency: transitive
395388
description:
396389
name: term_glyph
397390
url: "https://pub.dartlang.org"
398391
source: hosted
399-
version: "1.2.0-nullsafety.1"
392+
version: "1.2.0"
400393
test_api:
401394
dependency: transitive
402395
description:
403396
name: test_api
404397
url: "https://pub.dartlang.org"
405398
source: hosted
406-
version: "0.2.19-nullsafety.2"
399+
version: "0.2.19"
407400
typed_data:
408401
dependency: transitive
409402
description:
410403
name: typed_data
411404
url: "https://pub.dartlang.org"
412405
source: hosted
413-
version: "1.3.0-nullsafety.3"
406+
version: "1.3.0"
414407
validators:
415408
dependency: transitive
416409
description:
@@ -424,7 +417,7 @@ packages:
424417
name: vector_math
425418
url: "https://pub.dartlang.org"
426419
source: hosted
427-
version: "2.1.0-nullsafety.3"
420+
version: "2.1.0"
428421
vin_decoder:
429422
dependency: transitive
430423
description:
@@ -440,5 +433,5 @@ packages:
440433
source: hosted
441434
version: "4.2.0"
442435
sdks:
443-
dart: ">=2.10.0 <2.11.0"
444-
flutter: ">=1.22.0 <2.0.0"
436+
dart: ">=2.12.0 <3.0.0"
437+
flutter: ">=2.0.0"

example/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: example
22
description: Example project for form_builder_file_picker package
33
version: 1.0.0+1
4+
publish_to: 'none'
45

56
environment:
67
sdk: ">=2.1.0 <3.0.0"
@@ -9,7 +10,7 @@ dependencies:
910
flutter:
1011
sdk: flutter
1112

12-
flutter_form_builder: ^4.1.0
13+
flutter_form_builder: ^5.0.0
1314
form_builder_file_picker:
1415
path: ../
1516

0 commit comments

Comments
 (0)