flutter / flutter/devtools

Not clear which non-widget data types get expanded and which don't

Open
#2,427 0 comments 1 reaction 0 assignees View on GitHub
inspector-2.0-cleanup P3 screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

![Screen Shot 2020-10-13 at 1 05 23 PM](https://user-images.githubusercontent.com/156888/95910338-c5178900-0d54-11eb-8937-5e4aec2073f1.png)

In this example, `Theme` has a `ThemeData`. It's not clear to me whether there's just a whitelisted handpicked set of "data" types that expands into its constituents and why `ThemeData` is opaque but `TextStyle` under `actionTextStyle` is expandable.

Also a bit inconsistent that `Theme` has an opaque `ThemeData` (which follows the real tree composition) but the `CupertinoTheme`'s `CupertinoThemeData` is somehow inlined into the `CupertinoTheme` node directly. Same with the `IconTheme` where the `IconThemeData` is inlined.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.