device_wrapper 1.0.5
device_wrapper: ^1.0.5 copied to clipboard
Wrap Flutter pages with realistic device frames (iPhone, iPad) for web/desktop preview. Auto-scaling, Dynamic Island, and mode switching.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add device_wrapperWith Flutter:
$ flutter pub add device_wrapperThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
device_wrapper: ^1.0.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:device_wrapper/device_wrapper.dart';