flutter / flutter/devtools

Support editing textScaleFactor, brightness, etc. in devtools

Offen
#4,250 10 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement P2
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No source files or tests are named in the issue. Start by reviewing the DevTools entry points for runtime or device configuration and compare the linked device_preview package; define how dark/light mode, text scale, brightness, and target platform should be exposed. Done means developers can change those environment settings from DevTools without leaving the app.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart
Bereich
devtools
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.