device_preview_plus 2.1.2  device_preview_plus: ^2.1.2 copied to clipboard
device_preview_plus: ^2.1.2 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(),
    ),
  );
}