# aloisdeniel/flutter_device_preview

Approximate how your app looks and performs on another device.

Repository: https://github.com/aloisdeniel/flutter_device_preview
Canonical: https://ross.abutalabs.com/products/flutter_device_preview
Homepage: https://aloisdeniel.github.io/flutter_device_preview/
Language: JavaScript
License: MIT
License Family: permissive
Topics: flutter, tool, device, preview
Last push: 2026-08-25T13:48:47+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 2655, "days_push": 8, "days_rel": 8, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2401, forks 391 (observed 2026-08-28T04:06:43.616076+00:00)

## What it is
A Flutter package that simulates how a running app looks and behaves on other devices — screen size, pixel ratio, safe areas, locale, text scale, brightness, and target platform — without rebuilds or simulators. It integrates via a single enable() call and is controllable from Flutter DevTools, Dart code, or widget tests, and is disabled in release builds.

## Use cases
- preview my flutter app on different screen sizes without a simulator
- test responsive layouts on notched phones and tablets while developing
- check how my app looks with large text scale or dark mode
- simulate locales and accessibility settings in a running flutter app
- verify safe area and home indicator layout issues early
- run widget tests against simulated device configurations

## When to choose
- you build Flutter apps and want instant device/layout simulation during development
- you want to catch overflow, clipping, or safe-area bugs before shipping
- you need locale, text-scale, or platform overrides without emulators or rebuilds

## When to avoid
- you need pixel-accurate native rendering or real device performance profiling
- your project is not Flutter/Dart
- you need automated cross-browser web testing rather than Flutter layout simulation

## Facets
- artifact type: library
- maturity: active
- function: developer-tools, testing, ui-components
- domain: developer-tools, mobile-development, frontend, testing
- platform: cross-platform
- tags: flutter, device-preview, responsive-design, devtools-extension, simulation, widget-testing, mobile, desktop, web-server

## Member repositories
- aloisdeniel/flutter_device_preview (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.616076+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:14.696865+00:00, confidence not recorded.
  - readme: https://github.com/aloisdeniel/flutter_device_preview (fetched 2026-08-28T04:06:43.616076+00:00, sha 7ad0eee0ff51)
  - homepage: https://aloisdeniel.github.io/flutter_device_preview/ (fetched 2026-08-29T10:14:56.714462+00:00, sha 67ab04353940)
- Data as of 2026-08-30T08:39:29.467469+00:00.
