Skip to content

Improve rendering of Uint8List (and friends) in the debugger #4213

@DanTup

Description

@DanTup
final a = [1, 2, 3, 4, 5, 6];
final b = Uint8List.fromList(a);
final c = Uint16List.fromList(a)

List a looks like a list, but the others do not:

Screenshot 2022-10-11 at 14 36 05

In the VM Service traffic, we can see the item has a length: 6 so we might be able to present it the same as a standard List:

Screenshot 2022-10-11 at 14 39 53

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancementrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions