polygon_button 1.0.0 copy "polygon_button: ^1.0.0" to clipboard
polygon_button: ^1.0.0 copied to clipboard

A package providing custom shaped buttons, defined by a set of verticies.

Flutter Polygon Button #

A simple Flutter package for creating buttons with polygon shapes. Easily integrate polygon buttons into your Flutter apps.

Installation #

Add to your pubspec.yaml:

dependencies:
  flutter_polygon_button: 1.0.0

Usage #

import 'package:flutter_polygon_button/polygon_button.dart';

PolygonButton(
  onPressed: () {},
  vertices: const [
    Offset(100, 0),
    Offset(100, 200),
    Offset(0, 100),
    Offset(40, 100)
  ],
  makeConvex: false,
  child: Text("Click Me!"),
)

Developer Information #

Developed and published by:

Blunix GmbH
Glogauer Straße 21
10999 Berlin
Germany

Web: https://www.blunix.com

For inqueries please contact: info@blunix.com

Lead Developer: Nikoloz Miruashvili

License #

Apache 2.0

1
likes
150
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

A package providing custom shaped buttons, defined by a set of verticies.

Homepage
Repository

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on polygon_button