check_animation 0.0.3 copy "check_animation: ^0.0.3" to clipboard
check_animation: ^0.0.3 copied to clipboard

A Flutter package for customizable animations.

example/example.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: HomeScreen(),
    );
  }
}

class HomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Home')),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            Navigator.push(
              context,
              MaterialPageRoute(
                builder: (context) => CheckAnimationScreen(
                  title: 'Welcome to Check Animation',
                  buttonText: 'Start',
                  onButtonPressed: () {
                    Navigator.pop(context);
                  },
                ),
              ),
            );
          },
          child: Text('Go to Animation'),
        ),
      ),
    );
  }
}
1
likes
140
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for customizable animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, vector_math

More

Packages that depend on check_animation