csbuttons 0.1.4 copy "csbuttons: ^0.1.4" to clipboard
csbuttons: ^0.1.4 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: const Center(
          child: CSHeartButton(
            child: Text('Double tap the screen'),
          ),
        ),
      ),
    );
  }
}
1
likes
0
points
151
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides custom button and animation widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on csbuttons