Skip to content

Build runner buttons in top bar #3137

Open
@jaumard

Description

@jaumard

In most flutter project, you need to have code generation, for example JSON parsing, dependency injection, networks call and more... all those basic stuff take advantage of code generation with the command flutter packages pub run build_runner watch --delete-conflicting-outputs would be nice to have a button to launch this command and see the status of it. Even two buttons one for build and another for watch.

Here is where I imagine those buttons:
capture d ecran 2019-01-29 a 14 05 42

Build action: 2 state, idle and running, if an error occurred the Event Log panel can be use to show the error
Watch action: 3 state, idle, watching and running, if an error occurred the Event Log panel can be use to show the error

I always forget to launch this command manually and something it crash and stop itself and I don't see it. By having it on the top bar I can quickly see the status and launch/relaunch it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions