device_preview
Published by 🇫🇷aloisdeniel.com · v3.0.0 · released 1 month ago · MIT License
First published 7 years ago.
A custom WidgetsBinding that simulates device characteristics (screen metrics, safe areas, locale, brightness, text scale, accessibility flags, target platform) at the engine-abstraction level. No in-app UI — driven programmatically and by a DevTools extension.
Part of aloisdeniel/flutter_device_preview (3 packages)
#83 in Dev Tools #833 overall androidioswindowslinuxmacosweb
Downloads / day
6,456
as of 2026-10-19
GitHub stars
2,406
★ refreshed weekly
Likes
4,265
on pub.dev
Pub points
150 / 160
2026-09-19 2026-10-19
Repository health
Shared with 2 sibling packages in this repo.
- Last commit
- 1 month ago
- Commit activity
- Open issues
- 4
- Open PRs
- 1
- Contributors
- 27 (top contributor 83%)
- CI
- None detected
- License (repo)
Last refreshed 4 days ago.
How device_preview compares in Dev Tools
Top of the Dev Tools leaderboard, with device_preview highlighted.
| Rank | Package | Downloads / day | Stars | Likes |
|---|---|---|---|---|
| #1 | 🇺🇸 tools.dart.dev | 680.8K | ★ 11.3K | 62 |
| #2 | 🇺🇸 tools.dart.dev | 680.3K | ★ 11.3K | 325 |
| #3 | 🇺🇸 tools.dart.dev | 508.3K | ★ 116 | 15 |
| #4 | 🇺🇸 tools.dart.dev | 502.7K | ★ 702 | 129 |
| #83 | aloisdeniel.com | 6.5K | ★ 2.4K | 4.3K |
