Skip to main content

gleon 0.6.1 copy "gleon: ^0.6.1" to clipboard
gleon: ^0.6.1 copied to clipboard

Drop-in matchesGoldenFile for Flutter golden tests, 5-20x faster, with pixel and SSIM tolerance, ignore regions and real fonts, powered by a Rust engine.

example/lib/main.dart

import 'package:material_ui/material_ui.dart';

import 'counter_page.dart';

void main() => runApp(const Main());

class Main extends StatelessWidget {
  /// Creates the app.
  const new({super.key});

  @override
  Widget build(BuildContext context) => MaterialApp(
    home: const CounterPage(),
    title: 'gleon counter',
    theme: ThemeData(colorSchemeSeed: Colors.indigo),
    debugShowCheckedModeBanner: false,
  );
}
1
likes
160
points
223
downloads
screenshot

Documentation

API reference

Publisher

verified publishergleon.rs

Weekly Downloads

Drop-in matchesGoldenFile for Flutter golden tests, 5-20x faster, with pixel and SSIM tolerance, ignore regions and real fonts, powered by a Rust engine.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#testing #golden-test #visual-regression #ssim #flutter-test

License

MIT (license)

Dependencies

code_assets, crypto, flutter, flutter_test, hooks, meta, test_api

More

Packages that depend on gleon