flutter / flutter/devtools

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

Abierto
#2,427 0 comentarios 1 reacción 0 asignados Ver en GitHub
inspector-2.0-cleanup P3 screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

![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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.