flutter / flutter/devtools

Support editing textScaleFactor, brightness, etc. in devtools

Aperta
#4,250 10 commenti 3 reazioni 0 assegnatari Vedi su GitHub
enhancement P2
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

The ability to switch between dark/light mode, adjust text scale, switch target platform (iOS, Android, etc.) would allow devs to quickly verify that their widget functions as expected in a variety of environments.

To illustrate the benefit this would provide, the current flow for switching between dark/light mode on an iOS simulator is:
- Open the Settings app
- Open the Developer page
- Toggle "Dark appearance"

Even worse, changing text scale:
- Open the Settings app
- Open the Accessibility page
- Open the Display & Text Size page
- Open the Larger Text page
- Drag the slider up or down to adjust text scale

Having a way to do this without so many clicks and without having to leave the app would be phenomenal.

https://pub.dev/packages/device_preview demonstrates a version of the functionality that would be great to have as part of DevTools.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.