csbuttons 0.2.6 copy "csbuttons: ^0.2.6" to clipboard
csbuttons: ^0.2.6 copied to clipboard

A Flutter package that provides custom button and animation widgets.

example/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text("CSButton Example")),
        body: Center(
          child: CSButton(
            icon: Icons.favorite,
            iconSize: 60.0,
            color: Colors.red,
            onTap: () {},
          ),
        ),
      ),
    );
  }
}

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

//   @override
//   Widget build(BuildContext context) {
//     return MaterialApp(
//       home: Scaffold(
//         appBar: AppBar(title: const Text("CSHeartButton Example")),
//         body: Center(
//           child: CSHeartButton(
//             onDoubleTap: () {},
//             child: const Text('Double tap the screen'),
//           ),
//         ),
//       ),
//     );
//   }
// }
1
likes
130
points
188
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides custom button and animation widgets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on csbuttons