smart_asset_analyser 0.1.2 copy "smart_asset_analyser: ^0.1.2" to clipboard
smart_asset_analyser: ^0.1.2 copied to clipboard

A Flutter package to detect visually identical and similar assets using Deep Visual Embeddings (CLIP). Supports images, SVGs, and Lottie animations with interactive HTML reports.

example/lib/main.dart

import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Example App',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Smart Asset Analyser Example'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'This is an example Flutter app',
            ),
            const SizedBox(height: 20),
            const Text(
              'Run the asset analyser to find duplicate assets:',
              style: TextStyle(fontSize: 16),
            ),
            const SizedBox(height: 10),
            const Text(
              'dart run smart_asset_analyser:analyse assets',
              style: TextStyle(
                fontSize: 14,
                fontFamily: 'monospace',
                backgroundColor: Colors.grey,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
1
likes
0
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to detect visually identical and similar assets using Deep Visual Embeddings (CLIP). Supports images, SVGs, and Lottie animations with interactive HTML reports.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, collection, http, image, package_config, path, xml, yaml

More

Packages that depend on smart_asset_analyser