enchant_button 0.0.10 copy "enchant_button: ^0.0.10" to clipboard
enchant_button: ^0.0.10 copied to clipboard

Enhance your Flutter UI with EnchantButton's interactive animated buttons.

example/lib/main.dart

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

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

// The main application widget.
// This widget initializes the Flutter application and sets up the root widget tree.

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Animation Button Example'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              // RadioButtonBounce example
              RadioButtonBounce(
                size: 50,
                onTap: () {
                  // Handle tap event
                },
              ),
              const SizedBox(height: 20),
              // AddFavoriteButton example
              AddFavoriteButton(
                size: 100,
                onTap: () {
                  // Handle tap event
                },
              ),
              const SizedBox(height: 20),
              // Neon3DButton example
              Neon3DButton(
                icon: Icons.power_settings_new_rounded,
                size: 100,
                onTap: () {
                  // Handle tap event
                },
              ),
            ],
          ),
        ),
      ),
    );
  }
}
7
likes
140
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

Enhance your Flutter UI with EnchantButton's interactive animated buttons.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, rive, sizer

More

Packages that depend on enchant_button