@@ -264,13 +264,13 @@ class $PicturesGen {
264264class $AssetsImagesGen {
265265 const $AssetsImagesGen();
266266
267- AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
268267 AssetGenImage get chip1 => const AssetGenImage('assets/images/chip1.jpg');
269- AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
270- AssetGenImage get profile => const AssetGenImage('assets/images/profile.jpg');
268+ AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
271269 $AssetsImagesChip3Gen get chip3 => const $AssetsImagesChip3Gen();
272270 $AssetsImagesChip4Gen get chip4 => const $AssetsImagesChip4Gen();
273271 $AssetsImagesIconsGen get icons => const $AssetsImagesIconsGen();
272+ AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
273+ AssetGenImage get profile => const AssetGenImage('assets/images/profile.jpg');
274274}
275275
276276class $AssetsJsonGen {
@@ -384,6 +384,19 @@ class SvgGenImage {
384384 return SvgPicture.asset(
385385 _assetName,
386386 matchTextDirection: matchTextDirection,
387+ bundle: bundle,
388+ package: package,
389+ width: width,
390+ height: height,
391+ fit: fit,
392+ alignment: alignment,
393+ allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
394+ placeholderBuilder: placeholderBuilder,
395+ color: color,
396+ colorBlendMode: colorBlendMode,
397+ semanticsLabel: semanticsLabel,
398+ excludeFromSemantics: excludeFromSemantics,
399+ clipBehavior: clipBehavior,
387400 );
388401 }
389402
@@ -500,10 +513,11 @@ import 'package:flutter/material.dart';
500513class ColorName {
501514 ColorName._();
502515
503- static const Color white = Color(0xFFFFFFFF);
504516 static const Color black = Color(0xFF000000);
505- static const Color gray70 = Color(0xFFEEEEEE);
506- static const Color gray410 = Color(0xFF979797);
517+ static const Color black30 = Color(0x4D000000);
518+ static const Color black40 = Color(0x66000000);
519+ static const Color black50 = Color(0x80000000);
520+ static const Color black60 = Color(0x99000000);
507521 static const MaterialColor crimsonRed = MaterialColor(
508522 0xFFCF2A2A,
509523 <int, Color>{
@@ -519,6 +533,9 @@ class ColorName {
519533 900: Color(0xFFB20F0F),
520534 },
521535 );
536+ static const Color gray410 = Color(0xFF979797);
537+ static const Color gray70 = Color(0xFFEEEEEE);
538+ static const Color white = Color(0xFFFFFFFF);
522539 static const MaterialColor yellowOcher = MaterialColor(
523540 0xFFDF9527,
524541 <int, Color>{
@@ -535,6 +552,7 @@ class ColorName {
535552 },
536553 );
537554}
555+
538556` ` `
539557
540558</p>
@@ -561,7 +579,6 @@ and open a [pull request](https://github.com/FlutterGen/flutter_gen/pulls).
561579- [x] Fonts generation
562580- [x] Colors generation
563581 - [x] Support xml
564- - [ ] Support clr?
565582- [x] Support change output path
566583- [x] Support hierarchical generation
567584 ' assets/image/home/label.png' => Assets.image.home.label
0 commit comments