zoomify_fusion 1.0.1 copy "zoomify_fusion: ^1.0.1" to clipboard
zoomify_fusion: ^1.0.1 copied to clipboard

A flutter package which makes easier to display the differences between two images with zoom feature.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:zoomify_fusion/zoomify_fusion.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({super.key});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ZoomifyFusion(
        beforeImage: 'assets/after.jpg',
        afterImage: 'assets/before.jpg',
        needleImage: 'assets/needle_arrow.png',
      ),
    );
  }
}
14
likes
130
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package which makes easier to display the differences between two images with zoom feature.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on zoomify_fusion