device_preview 0.4.7 device_preview: ^0.4.7 copied to clipboard
Approximate how your app looks and performs on another device.
import 'package:device_preview/device_preview.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'gallery/studies/starter/app.dart';
void main() {
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
runApp(DevicePreview(
builder: (context) => StarterApp(),
));
}