nvim-flutter / nvim-flutter/flutter-tools.nvim

[Feature Request] Adding Flutter Widget Previewer.

Open
#499 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
1.4k
Forks
116
Avg merge
3m
Merged PRs (30d)
1

Description

As part of Flutter version 3.38 Flutter introduces widget preview:
https://docs.flutter.dev/tools/widget-previewer

Could we have a way to integrate this into this package?

Using:
flutter widget-preview start allows us to start this preview.

Maybe we could add a new command:
FlutterWidgetPreviewStart

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how existing Flutter commands are implemented in flutter-tools.nvim, then read the Flutter widget previewer documentation and inspect the flutter widget-preview start entry point. Done should mean the package exposes a FlutterWidgetPreviewStart command that starts the widget previewer.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, lua
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.