DGHub Studio

Buy Me a Coffee

Buy Me A Coffee

Pub

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

Libraries

dghub_button