easy_buttons

Creator: coderz1093

Last updated:

0 purchases

easy_buttons Image
easy_buttons Images

Languages

Categories

Add to Cart

Description:

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.