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

A Flutter clipper widget to draw a hexagon with rounded corners.

A lightweight and customizable Flutter widget that displays a hexagon with rounded corners. Great for avatars, badges, buttons, and more.

Features #

  • Draws a perfect hexagon with customizable rounded corners
  • Easily place any widget inside (e.g., text, icon, image)
  • Adjustable size, color, and corner radius
  • Simple and reusable API

Getting started #

1. Install #

Add this to your pubspec.yaml:

dependencies:
  rounded_hexagon: ^0.0.1

Usage #

import 'package:rounded_hexagon/rounded_hexagon.dart';

RoundedHexagon(
  size: 60,
  color: Colors.teal,
  radius: 12,
  child: Icon(Icons.star, color: Colors.white),
)

Additional information #

0
likes
140
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter clipper widget to draw a hexagon with rounded corners.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rounded_hexagon