flutter_gen icon indicating copy to clipboard operation
flutter_gen copied to clipboard

[BUG]: how to change the color property of generated svg file

Open mayur-mindstack opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Version

No response

Command type

build_runner (Default)

What happened?

when i tried Assets.icons.homeIcon.svg(color: );

its showing 'color' is deprecated and shouldn't be used

Relevant a pubspec.yaml.

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

mayur-mindstack avatar May 19 '23 12:05 mayur-mindstack

Any updates?

chiphan-makebetter avatar Sep 21 '23 15:09 chiphan-makebetter

You should use colorFilter instead.

lcdsmao avatar Sep 22 '23 00:09 lcdsmao