Arrow Decoration

A Decoration that generates an arrow shape

Showcase

Getting started

import 'package:arrow_decoration/arrow_decoration.dart';

Usage

Here is a minimalist example.

Container(
  width: 200,
  height: 200,
  decoration: ArrowDecoration(
    bgColor: Colors.pink,
    lineColor: Colors.green,
    lineWidth: 10,
    borderRadius: BorderRadius.circular(10),
    arrowSize: const Size(50, 50),
  ),
)

The library also provides ArrowClipper and arrowPath() for flexible use.

Check example for more.

Libraries

arrow_decoration