Skip to content
pubscout

device_preview

3.0.0, released 3 months ago by aloisdeniel.com

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.

WASM-ready
$ flutter pub add device_preview
Source repository

What it does

This is the author's description from pub.dev. We haven't written a summary with use cases and trade-offs for this package yet.

Setup

Kind
Flutter widgets
Code generation
No
Direct dependencies
0

Works with

Packages commonly used together with device_preview: ones it builds on, ones built on it, and its own family.