flutter / flutter/devtools

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

Ouverte
#2,427 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
inspector-2.0-cleanup P3 screen: inspector
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.