Skip to content

[BUG]: Generated svg function should be generated with a default value of [clipBehavior]. #378

Closed
@hasanmhallak

Description

@hasanmhallak

Is there an existing issue for this?

  • I have searched the existing issues

Version

5.2.0

Command type

build_runner (Default)

What happened?

When generating an svg function, the argument [clipBehavior] should not be nullable as before, with the recent update to the flutter_svg library the default value for [clipBehavior] should be Clip.hardEdge. so each time I run the build_runner I must manually update this argument otherwise the code won't get compiled.

Relevant a pubspec.yaml.

No response

Relevant log output

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions