arrow_decoration 0.0.2 copy "arrow_decoration: ^0.0.2" to clipboard
arrow_decoration: ^0.0.2 copied to clipboard

A decoration that generates an arrow shape

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.

1
likes
150
points
252
downloads

Publisher

unverified uploader

Weekly Downloads

A decoration that generates an arrow shape

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on arrow_decoration