Skip to content

Commit 3dca983

Browse files
authored
Merge pull request #37 from FlutterGen/bumpup-110
Release v1.1.0
2 parents 62c3814 + 26a373a commit 3dca983

File tree

6 files changed

+46
-28
lines changed

6 files changed

+46
-28
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.1.0
2+
3+
New Feature
4+
- [#33](https://github.com/FlutterGen/flutter_gen/pull/33) Support to generate flat hierarchy assets with field name style:
5+
- camel-case
6+
- snake-case
7+
- dot-delimiter (Default)
8+
19
## 1.0.3
210

311
Bug fix

example/.dart_tool/build/entrypoint/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ignore_for_file: directives_ordering
22

33
import 'package:build_runner_core/build_runner_core.dart' as _i1;
4-
import 'package:flutter_gen/flutter_generator.dart' as _i2;
4+
import 'package:flutter_gen/build.dart' as _i2;
55
import 'dart:isolate' as _i3;
66
import 'package:build_runner/build_runner.dart' as _i4;
77
import 'dart:io' as _i5;

example/pubspec.lock

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.5.0-nullsafety"
31+
version: "2.4.2"
3232
boolean_selector:
3333
dependency: transitive
3434
description:
3535
name: boolean_selector
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "2.1.0-nullsafety"
38+
version: "2.0.0"
3939
build:
4040
dependency: transitive
4141
description:
@@ -70,14 +70,14 @@ packages:
7070
name: build_runner
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "1.10.2"
73+
version: "1.10.0"
7474
build_runner_core:
7575
dependency: transitive
7676
description:
7777
name: build_runner_core
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "6.0.1"
80+
version: "5.2.0"
8181
built_collection:
8282
dependency: transitive
8383
description:
@@ -98,14 +98,14 @@ packages:
9898
name: characters
9999
url: "https://pub.dartlang.org"
100100
source: hosted
101-
version: "1.1.0-nullsafety.2"
101+
version: "1.0.0"
102102
charcode:
103103
dependency: transitive
104104
description:
105105
name: charcode
106106
url: "https://pub.dartlang.org"
107107
source: hosted
108-
version: "1.2.0-nullsafety"
108+
version: "1.1.3"
109109
checked_yaml:
110110
dependency: transitive
111111
description:
@@ -126,7 +126,7 @@ packages:
126126
name: clock
127127
url: "https://pub.dartlang.org"
128128
source: hosted
129-
version: "1.1.0-nullsafety"
129+
version: "1.0.1"
130130
code_builder:
131131
dependency: transitive
132132
description:
@@ -140,7 +140,7 @@ packages:
140140
name: collection
141141
url: "https://pub.dartlang.org"
142142
source: hosted
143-
version: "1.15.0-nullsafety.2"
143+
version: "1.14.13"
144144
convert:
145145
dependency: transitive
146146
description:
@@ -182,7 +182,7 @@ packages:
182182
name: fake_async
183183
url: "https://pub.dartlang.org"
184184
source: hosted
185-
version: "1.1.0-nullsafety"
185+
version: "1.1.0"
186186
fixnum:
187187
dependency: transitive
188188
description:
@@ -201,7 +201,7 @@ packages:
201201
path: ".."
202202
relative: true
203203
source: path
204-
version: "1.0.1"
204+
version: "1.0.3"
205205
flutter_svg:
206206
dependency: "direct main"
207207
description:
@@ -283,14 +283,14 @@ packages:
283283
name: matcher
284284
url: "https://pub.dartlang.org"
285285
source: hosted
286-
version: "0.12.10-nullsafety"
286+
version: "0.12.8"
287287
meta:
288288
dependency: transitive
289289
description:
290290
name: meta
291291
url: "https://pub.dartlang.org"
292292
source: hosted
293-
version: "1.3.0-nullsafety.2"
293+
version: "1.1.8"
294294
mime:
295295
dependency: transitive
296296
description:
@@ -325,7 +325,7 @@ packages:
325325
name: path
326326
url: "https://pub.dartlang.org"
327327
source: hosted
328-
version: "1.8.0-nullsafety"
328+
version: "1.7.0"
329329
path_drawing:
330330
dependency: transitive
331331
description:
@@ -346,14 +346,14 @@ packages:
346346
name: pedantic
347347
url: "https://pub.dartlang.org"
348348
source: hosted
349-
version: "1.9.2"
349+
version: "1.9.0"
350350
petitparser:
351351
dependency: transitive
352352
description:
353353
name: petitparser
354354
url: "https://pub.dartlang.org"
355355
source: hosted
356-
version: "3.1.0"
356+
version: "3.0.4"
357357
pool:
358358
dependency: transitive
359359
description:
@@ -407,21 +407,21 @@ packages:
407407
name: source_span
408408
url: "https://pub.dartlang.org"
409409
source: hosted
410-
version: "1.8.0-nullsafety"
410+
version: "1.7.0"
411411
stack_trace:
412412
dependency: transitive
413413
description:
414414
name: stack_trace
415415
url: "https://pub.dartlang.org"
416416
source: hosted
417-
version: "1.10.0-nullsafety"
417+
version: "1.9.5"
418418
stream_channel:
419419
dependency: transitive
420420
description:
421421
name: stream_channel
422422
url: "https://pub.dartlang.org"
423423
source: hosted
424-
version: "2.1.0-nullsafety"
424+
version: "2.0.0"
425425
stream_transform:
426426
dependency: transitive
427427
description:
@@ -435,21 +435,21 @@ packages:
435435
name: string_scanner
436436
url: "https://pub.dartlang.org"
437437
source: hosted
438-
version: "1.1.0-nullsafety"
438+
version: "1.0.5"
439439
term_glyph:
440440
dependency: transitive
441441
description:
442442
name: term_glyph
443443
url: "https://pub.dartlang.org"
444444
source: hosted
445-
version: "1.2.0-nullsafety"
445+
version: "1.1.0"
446446
test_api:
447447
dependency: transitive
448448
description:
449449
name: test_api
450450
url: "https://pub.dartlang.org"
451451
source: hosted
452-
version: "0.2.19-nullsafety"
452+
version: "0.2.17"
453453
time:
454454
dependency: transitive
455455
description:
@@ -470,14 +470,14 @@ packages:
470470
name: typed_data
471471
url: "https://pub.dartlang.org"
472472
source: hosted
473-
version: "1.3.0-nullsafety.2"
473+
version: "1.2.0"
474474
vector_math:
475475
dependency: transitive
476476
description:
477477
name: vector_math
478478
url: "https://pub.dartlang.org"
479479
source: hosted
480-
version: "2.1.0-nullsafety.2"
480+
version: "2.0.8"
481481
watcher:
482482
dependency: transitive
483483
description:
@@ -498,7 +498,7 @@ packages:
498498
name: xml
499499
url: "https://pub.dartlang.org"
500500
source: hosted
501-
version: "4.5.0"
501+
version: "4.2.0"
502502
yaml:
503503
dependency: transitive
504504
description:
@@ -507,5 +507,5 @@ packages:
507507
source: hosted
508508
version: "2.2.1"
509509
sdks:
510-
dart: ">=2.10.0-0.0.dev <2.10.0"
510+
dart: ">=2.9.0 <3.0.0"
511511
flutter: ">=1.20.0 <2.0.0"

example/pubspec.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ flutter_gen:
2929
integrations:
3030
flutter_svg: true
3131

32+
assets:
33+
# Assets.imagesChip
34+
# style: camel-case
35+
36+
# Assets.images_chip
37+
# style: snake-case
38+
39+
# Assets.images.chip (default style)
40+
# style: dot-delimiter
41+
3242
colors:
3343
inputs:
3444
- assets/color/colors.xml

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ packages:
476476
name: xml
477477
url: "https://pub.dartlang.org"
478478
source: hosted
479-
version: "4.4.1"
479+
version: "4.5.0"
480480
yaml:
481481
dependency: "direct main"
482482
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_gen
22
description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
3-
version: 1.0.3
3+
version: 1.1.0
44
komepage: https://github.com/FlutterGen/flutter_gen
55
repository: https://github.com/FlutterGen/flutter_gen
66
documentation: https://github.com/FlutterGen/flutter_gen

0 commit comments

Comments
 (0)