Skip to content

Stop passing State objects between widgets in the LayoutExplorer #2701

Open

Description

@jacob314

The layout explorer uses an anti-pattern where State objects are passed between widgets for convenience.
These uses should be cleaned up passing around Controllers, callbacks, or using InheritedWidget instead.

Activity

  1. added this to the M27 milestone on Mar 6, 2021
  2. modified the milestones: M27, On Deck on Mar 30, 2021
  3. added
    P3
    reproduce to verify
    on Sep 27, 2024
  4. removed
    reproduce to verify
    on Nov 19, 2024
  5. elliette commented on Nov 19, 2024

    @elliette
    Member

    We still have this anti-pattern, see for example here:

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

    P3devtools-inspector-layout-explorertype-code-health

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions