Skip to content

[packages] Tree closed on OOB failure mocking Platform #192420

Closed
flutter/packages
#12789

Description

@stuartmorgan-g

The tree is closed due to this error in repo tooling analysis:

  error - test/mocks.dart:16:44 - The class 'Platform' can't be implemented outside of its library because it's a final class. - invalid_use_of_type_outside_library

This appears to be an OOB failure due to a recent platform release. In the short term we should be able to re-open the tree by pinning platform in the tool (not something we would normally do in a published package, but we only publish it for our own use and nothing should have it as a dependency, so it should be harmless), but the testing will need to update to whatever the new testing system referenced in the CHANGELOG is.

/cc @mboetger (current gardener)

Activity

  1. github-actions commented on Sep 22, 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.

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions