Skip to content

Add platform toggle to the inspector #2780

Open

Description

@jacob314

Users are missing this feature the IntelliJ inspector had.

It should be easy to add now that we are using Flutter web. Just need a drop down menu toggling the service extension between Android, IOS, and web.
https://twitter.com/RydMike/status/1368224307525152768

Activity

  1. added this to the M27 milestone on Mar 12, 2021
  2. modified the milestones: M27, M28 on Apr 6, 2021
  3. modified the milestones: M28, On Deck on Jun 2, 2021
  4. removed this from the On Deck milestone on May 24, 2022
  5. added
    good first issue
    on May 30, 2023
  6. added
    P3
    and removed on Jul 5, 2023
  7. added
    contributions welcome
    and removed on Oct 15, 2026
  8. Aadeesh-01 commented on Oct 29, 2026

    @Aadeesh-01

    Hi! I'd like to work on this. I noticed togglePlatformMode and TogglePlatformSelector already exist in service_extensions.dart / service_extension_widgets.dart, but they're marked unused with a TODO pointing to this issue.

    Is the plan still to surface TogglePlatformSelector in the Inspector screen's controls, next to the other service-extension toggles? If so, I'll add it there, remove the unused-code ignore and add a widget test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3contributions welcomedevtools-inspector-screengood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions