dotted_button 0.0.1 copy "dotted_button: ^0.0.1" to clipboard
dotted_button: ^0.0.1 copied to clipboard

A new easy flutter package to have a custom button with various shape and dotted border.

Dotted Button #

A easy flutter package to have a custom button with various shape with dotted border.

Getting started #

Add dependency #

You can use the command to add dio as a dependency with the latest stable version:

$ dart pub add dotted_button_flutter

Or you can manually add dio into the dependencies section in your pubspec.yaml:

dependencies:
  dotted_button_flutter: ^replace-with-latest-version

Super simple to use #

DottedButton(
      onTap: () {
        setState(() {
          msg = 'Circle Border';
        });
      },
      height: 230,
      width: 100,
      margin: const EdgeInsets.all(20),
      borderType: BorderType.Oval,
      color: Colors.red,
      boxShadow: const [
        BoxShadow(
          color: Colors.black,
          blurRadius: 10,
        ),
      ],
      child: const Text("Circle Border"),
    ),
3
likes
160
pub points
52%
popularity

Publisher

unverified uploader

A new easy flutter package to have a custom button with various shape and dotted border.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dotted_button