flutter / flutter/devtools

Support editing textScaleFactor, brightness, etc. in devtools

Đang mở
#4,250 10 bình luận 3 reaction 0 người được giao Xem trên GitHub
enhancement P2
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.