animated_3d_button 1.0.0 copy "animated_3d_button: ^1.0.0" to clipboard
animated_3d_button: ^1.0.0 copied to clipboard

A customizable animated 3D button with animated shadow effect

example/lib/main.dart

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


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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Animated Button Example')),
        body: Center(
          child: Animated3DButton(
            color: Colors.indigo,
            onPressed: () {
              ScaffoldMessenger.of(context).showSnackBar(
                const SnackBar(content: Text('Tapped!')),
              );
            },
            child: const Text('Click Me'),
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
72
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable animated 3D button with animated shadow effect

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on animated_3d_button