Skip to content

Change snippets to use Placeholder() instead of Container() #6288

@DanTup

Description

@DanTup

See discussion at Dart-Code/Dart-Code#3975 (comment). Empty Container()s may trigger lints, and Placeholder seems like an ideal replacement (const Placeholder()).

I'm going to change this in VS Code + LSP (Dart-Code/Dart-Code#4136) and it makes sense to keep these the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions