dotted_button 0.0.2 copy "dotted_button: ^0.0.2" to clipboard
dotted_button: ^0.0.2 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 dotted_button as a dependency with the latest stable version:

$ dart pub add dotted_button

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

dependencies:
  dotted_button: ^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