@@ -261,13 +261,13 @@ class $PicturesGen {
261261class $AssetsImagesGen {
262262 const $AssetsImagesGen();
263263
264- AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
265264 AssetGenImage get chip1 => const AssetGenImage('assets/images/chip1.jpg');
266- AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
267- AssetGenImage get profile => const AssetGenImage('assets/images/profile.jpg');
265+ AssetGenImage get chip2 => const AssetGenImage('assets/images/chip2.jpg');
268266 $AssetsImagesChip3Gen get chip3 => const $AssetsImagesChip3Gen();
269267 $AssetsImagesChip4Gen get chip4 => const $AssetsImagesChip4Gen();
270268 $AssetsImagesIconsGen get icons => const $AssetsImagesIconsGen();
269+ AssetGenImage get logo => const AssetGenImage('assets/images/logo.png');
270+ AssetGenImage get profile => const AssetGenImage('assets/images/profile.jpg');
271271}
272272
273273class $AssetsJsonGen {
@@ -381,6 +381,19 @@ class SvgGenImage {
381381 return SvgPicture.asset(
382382 _assetName,
383383 matchTextDirection: matchTextDirection,
384+ bundle: bundle,
385+ package: package,
386+ width: width,
387+ height: height,
388+ fit: fit,
389+ alignment: alignment,
390+ allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
391+ placeholderBuilder: placeholderBuilder,
392+ color: color,
393+ colorBlendMode: colorBlendMode,
394+ semanticsLabel: semanticsLabel,
395+ excludeFromSemantics: excludeFromSemantics,
396+ clipBehavior: clipBehavior,
384397 );
385398 }
386399
@@ -497,10 +510,11 @@ import 'package:flutter/material.dart';
497510class ColorName {
498511 ColorName._();
499512
500- static const Color white = Color(0xFFFFFFFF);
501513 static const Color black = Color(0xFF000000);
502- static const Color gray70 = Color(0xFFEEEEEE);
503- static const Color gray410 = Color(0xFF979797);
514+ static const Color black30 = Color(0x4D000000);
515+ static const Color black40 = Color(0x66000000);
516+ static const Color black50 = Color(0x80000000);
517+ static const Color black60 = Color(0x99000000);
504518 static const MaterialColor crimsonRed = MaterialColor(
505519 0xFFCF2A2A,
506520 <int, Color>{
@@ -516,6 +530,9 @@ class ColorName {
516530 900: Color(0xFFB20F0F),
517531 },
518532 );
533+ static const Color gray410 = Color(0xFF979797);
534+ static const Color gray70 = Color(0xFFEEEEEE);
535+ static const Color white = Color(0xFFFFFFFF);
519536 static const MaterialColor yellowOcher = MaterialColor(
520537 0xFFDF9527,
521538 <int, Color>{
@@ -532,6 +549,7 @@ class ColorName {
532549 },
533550 );
534551}
552+
535553` ` `
536554
537555</p>
@@ -558,7 +576,6 @@ and open a [pull request](https://github.com/FlutterGen/flutter_gen/pulls).
558576- [x] Fonts generation
559577- [x] Colors generation
560578 - [x] Support xml
561- - [ ] Support clr?
562579- [x] Support change output path
563580- [x] Support hierarchical generation
564581 ' assets/image/home/label.png' => Assets.image.home.label
0 commit comments