0 purchases
easy buttons
easy_buttons #
Getting started #
ClassFunc first package library
Usage #
Install
flutter pub add easy_buttons
dependencies:
easy_buttons: ^1.0.8
copied to clipboard
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'),
),
],
),
),
),
copied to clipboard
Additional information #
ClassFunc button package for flutter ^.^
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.