Skip to content

[vector_graphics, path_parsing] scale, scaled, and translate are deprecated #178120

Closed

Description

@stuartmorgan-g

From vector_graphics_compiler:

   info • test/matrix_test.dart:78:17 • 'scaled' is deprecated and shouldn't be used. Use scaledByVector3, scaledByVector4, or scaledByDouble
          instead. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
   info • test/matrix_test.dart:81:53 • 'scaled' is deprecated and shouldn't be used. Use scaledByVector3, scaledByVector4, or scaledByDouble
          instead. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
   info • test/matrix_test.dart:92:17 • 'scaled' is deprecated and shouldn't be used. Use scaledByVector3, scaledByVector4, or scaledByDouble
          instead. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use
   info • test/matrix_test.dart:107:15 • 'translate' is deprecated and shouldn't be used. Use translateByVector3, translateByVector4, or
          translateByDouble instead. Try replacing the use of the deprecated member with the replacement. • deprecated_member_use

These are test-only, but should be updated when feasible to avoid issues when they are eventually removed from vector_math.

Activity

  1. added
    packageflutter/packages repository. See also p: labels.
    c: tech-debtTechnical debt, code quality, testing, etc.
    p: deprecated apiUse of a deprecated Dart API in flutter/packages that needs to be updated
    on Nov 6, 2025
  2. self-assigned this
    on Nov 6, 2025
  3. stuartmorgan-g commented on Dec 3, 2025

    @stuartmorgan-g
    ContributorAuthor

    vector_graphics has similar API usage, not in tests:

       info • lib/src/vector_graphics.dart:503:17 • 'translate' is deprecated and shouldn't be used. Use translateByVector3, translateByVector4, or translateByDouble instead. Try replacing the use of the deprecated member with the
              replacement. • deprecated_member_use
       info • lib/src/vector_graphics.dart:504:17 • 'scale' is deprecated and shouldn't be used. Use scaleByVector3, scaleByVector4, or scaleByDouble instead. Try replacing the use of the deprecated member with the replacement. •
              deprecated_member_use
    

    as does path_parsing:

       info • lib/src/path_parsing.dart:703:20 • 'scale' is deprecated and shouldn't be used. Use scaleByVector3, scaleByVector4, or scaleByDouble instead. Try replacing the use of the deprecated member with the replacement. •
              deprecated_member_use
       info • lib/src/path_parsing.dart:740:20 • 'scale' is deprecated and shouldn't be used. Use scaleByVector3, scaleByVector4, or scaleByDouble instead. Try replacing the use of the deprecated member with the replacement. •
              deprecated_member_use
    
  4. changed the title [-][vector_graphics_compiler] `scaled` and `translate` are deprecated[/-] [+][vector_graphics] `scaled` and `translate` are deprecated[/+] on Dec 3, 2025
  5. added
    ⏳Bot is counting down the days until it unassigns the issue
    on Apr 8, 2026
  6. flutter-triage-bot commented on Apr 8, 2026

    @flutter-triage-bot

    This issue is assigned to @piedcipher but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

  7. changed the title [-][vector_graphics] `scaled` and `translate` are deprecated[/-] [+][vector_graphics, path_parsing] `scale`, `scaled`, and `translate` are deprecated[/+] on Apr 23, 2026
  8. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on May 5, 2026
  9. added
    ⏳Bot is counting down the days until it unassigns the issue
    on Aug 27, 2026
  10. flutter-triage-bot commented on Aug 27, 2026

    @flutter-triage-bot

    This issue is assigned to @piedcipher but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

  11. github-actions commented on Sep 16, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

⏳Bot is counting down the days until it unassigns the issuec: tech-debtTechnical debt, code quality, testing, etc.p: deprecated apiUse of a deprecated Dart API in flutter/packages that needs to be updatedp: vector_graphicsThe vector_graphics package setpackageflutter/packages repository. See also p: labels.team-engineOwned by Engine team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions