glass_animated_button 1.0.3 copy "glass_animated_button: ^1.0.3" to clipboard
glass_animated_button: ^1.0.3 copied to clipboard

A customizable animated glassmorphic button for Flutter.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.teal[900],
        body: Center(
          child: GlassAnimatedButton(
            text: "Download",
            icon: Icon(Icons.download, color: Colors.white),
            onPressed: () => print("Tapped!"),
            blur: 10,
            borderRadius: 20,
            color: Colors.white.withOpacity(0.15),
          ),
        ),
      ),
    );
  }
}
9
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable animated glassmorphic button for Flutter.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on glass_animated_button