Skip to content

Dabbit-Chan/arrow_decoration

Repository files navigation

Animated Path

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.

About

A decoration that generates arrows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published