easy_buttons 1.0.8 copy "easy_buttons: ^1.0.8" to clipboard
easy_buttons: ^1.0.8 copied to clipboard

Classfunc button package project.

easy_buttons #

Getting started #

ClassFunc first package library

demo_easy_buttons

Usage #

  • Install
flutter pub add easy_buttons

dependencies:
  easy_buttons: ^1.0.8
  
  • Use package
import 'package:easy_buttons/easy_buttons.dart';


EasyButton(
          title: 'Test new packages',
          svgPicture: SvgPicture.asset('assets/images/ic_done_bottom.svg', width: 30, height: 32),
          onTap: () => showDialog<String>(
            context: context,
            builder: (BuildContext context) => AlertDialog(
              title: const Text('AlertDialog Title'),
              content: const Text('AlertDialog description'),
              actions: <Widget>[
                TextButton(
                  onPressed: () => Navigator.pop(context, 'Cancel'),
                  child: const Text('Cancel'),
                ),
                TextButton(
                  onPressed: () => Navigator.pop(context, 'OK'),
                  child: const Text('OK'),
                ),
              ],
            ),
          ),
        ),

Additional information #

ClassFunc button package for flutter ^.^
3
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Classfunc button package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on easy_buttons