device_preview_plus 2.1.4 copy "device_preview_plus: ^2.1.4" to clipboard
device_preview_plus: ^2.1.4 copied to clipboard

Approximate how your Flutter app looks and performs on another device

example/lib/main.dart

import 'package:device_preview_plus/device_preview_plus.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import 'basic.dart';
import 'custom_plugin.dart';

void main() {
  runApp(
    DevicePreview(
      enabled: true,
      tools: const [
        ...DevicePreview.defaultTools,
        CustomPlugin(),
      ],
      builder: (context) => const BasicApp(),
    ),
  );
}
6
likes
160
pub points
87%
popularity

Publisher

unverified uploader

Approximate how your Flutter app looks and performs on another device

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, device_frame, flutter, flutter_localizations, freezed_annotation, json_annotation, provider, shared_preferences

More

Packages that depend on device_preview_plus