dghub_button 0.0.4 dghub_button: ^0.0.4 copied to clipboard
Min Thant Htet.
DGHub Studio #
Buy Me a Coffee #
What is #
This package provides a customizable button for flutter projects
Installation #
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
dghub_button: <latest_version>
Import package #
import 'package:dghub_button/dghub_button.dart';
Example home button #
DGHubButton(
config: ButtonConfig( width: 100,
isError: isError,
isSuccess: isSuccess,
// isLoading: true,
onTap: () {
isSuccess = true;
setState(() {});
},
color: Colors.pink,
label: 'Click')),
),
- Package created by Min Thant Htet