# Device Preview

> Switch a running Flutter app to any simulated device, with no rebuild or simulator

Source: https://talira.ai/catalog/device-preview-g042ggnx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / testing / mobile](https://talira.ai/categories/developer-tools/testing/mobile), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Aloïs Deniel](https://talira.ai/orgs/alois-deniel.md)

Device Preview (the device_preview package) switches your running Flutter app to another device instantly, with no rebuild and no simulator: screen size, pixel ratio, safe areas, orientation, folds, the software keyboard, locale, brightness, text scale, accessibility settings and target platform all change, and the app reads them through the same MediaQuery it always uses. You control it from a Flutter DevTools extension, from Dart, or from tests, and it's active in debug and profile builds and off in release builds.

## Links

- Website: https://aloisdeniel.github.io/flutter_device_preview/
- GitHub: https://github.com/aloisdeniel/flutter_device_preview
- Docs: https://aloisdeniel.github.io/flutter_device_preview/

## Problems it solves

- check my Flutter app's layout on many phone and tablet sizes without simulators
- catch overflow at large text sizes in my Flutter app before users do
- test my Flutter UI in landscape, dark mode and other locales quickly

## Features

- simulate screen size, pixel ratio, safe areas, orientation and folds in the running app
- change locale, brightness, text scale and accessibility settings live
- device presets such as recent iPhones, set from Dart
- a Flutter DevTools extension to pick devices
- drive it from tests
- off in release builds, so nothing ships to users

## Limitations

- DevicePreview.controller throws when simulation is off, as in every release build, so shipped code has to use maybeController.[^1]

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.45, adoption 0.68, momentum 0.44, community 0.62, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- latest release v3.0.0 3 months ago
- 2.4k GitHub stars
- 34 contributors
- backed by Aloïs Deniel

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)

## Sources

[^1]: https://github.com/aloisdeniel/flutter_device_preview#readme (checked 28 Nov 2026)
[^2]: https://github.com/aloisdeniel/flutter_device_preview/blob/master/LICENSE (checked 28 Nov 2026)
