Borders

Custom ShapeBorders like Chamfer Border,Trapezium border supported Animated.

Features

  • ✅ ChamferBorder
  • ✅ TrapeziumBorder
  • 🚧 More custom Borders

Preview

Borders
borders

Getting started

flutter pub add borders

Usage

Container(
    width: 100,
    height: 100,
    decoration: ShapeDecoration(
        shape: ChamferBorder(
            borderRadius: BorderRadius.circular(16),
            borderChamfer: BorderChamfer.vertical(
                top: true,
            ),
        ),
    ),
);

More usage see /example folder.

Additional information

To use this library in versions lower than Flutter 3.7, please specify the version number as 0.0.x.

GitHub

View Github