Skip to content

Pigeon: List is not supported in method arguments #66446

Description

@matejdro

Steps to Reproduce

Run flutter pub run pigeon on top of the following snippet:

@HostApi()
abstract class TestApi {
  void provideList(List list);
}

Expected results:

Pigeon with List should get generated

Actual results:

Generation will error out with Error: pigeons/pigeons.dart: Unsupported argument type: "List" in API: "TestApi" method: "provideList

@gaaclarke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions