Skip to content

Add support for embedded Flutter widget preview #2620

@d-silveira

Description

@d-silveira

Hi everyone,

I was reading about Android jetpack compose and iOS swift UI, and thinking that flutter is falling a little behind on it's lead of developer experience.

IMHO We need to quickly supply developers a live preview of the widget they are working on.
It shouldn't be that hard if dartpad and codepen do it, since vscode is basically a web browser itself.

I feel it would greatly improve developer experience, since you wouldn't need to either:

  1. spawn an emulator, with all the additional RAM and CPU it consumes wait for it to come online, and then wait for that long initial build;
  2. connect an external device and wait for that long initial build, and have the device suck the battery out of your laptop, or have to do it all over again;
    all this just to check if the widget you're working on looks like what you expected.

Thanks,
Best Regards,
d-silveira

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions