shutter 0.1.1 copy "shutter: ^0.1.1" to clipboard
shutter: ^0.1.1 copied to clipboard

Renders a Flutter project's widget previews to PNG, reusing the ones it already has, and diffs two runs pixel by pixel into before and after images of a change.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'app_theme.dart';
import 'ui/settings_page.dart';

void main() {
  runApp(const ExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'shutter example',
      theme: appTheme,
      darkTheme: appDarkTheme,
      home: const SettingsPage(),
    );
  }
}
0
likes
160
points
90
downloads

Documentation

API reference

Publisher

verified publisherkoji-1009.com

Weekly Downloads

Renders a Flutter project's widget previews to PNG, reusing the ones it already has, and diffs two runs pixel by pixel into before and after images of a change.

Repository (GitHub)
View/report issues

Topics

#flutter #preview #screenshot #visual-diff #cli

License

MIT (license)

Dependencies

analyzer, args, crypto, image, path, yaml

More

Packages that depend on shutter