device_preview_store_screenshot 0.0.2 copy "device_preview_store_screenshot: ^0.0.2" to clipboard
device_preview_store_screenshot: ^0.0.2 copied to clipboard

Using device_preview to create a screenshot for store from a simulator.

example/lib/main.dart

import 'package:device_preview/device_preview.dart';
import 'package:device_preview_store_screenshot/device_preview_store_screenshot.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    DevicePreview(
      builder: (context) => const MainApp(),
      tools: const [
        ...DevicePreview.defaultTools,
        DevicePreviewScreenshotTool(),
      ],
    ),
  );
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: Text('Hello World!'),
        ),
      ),
    );
  }
}
3
likes
150
points
62
downloads

Publisher

verified publisherakaboshinit.dev

Weekly Downloads

Using device_preview to create a screenshot for store from a simulator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_preview, flutter, path_provider

More

Packages that depend on device_preview_store_screenshot