container_gradient_border 0.2.0
container_gradient_border: ^0.2.0 copied to clipboard
Flutter gradient border for any child via CustomPaint — linear, radial and sweep gradients, plus dashed, glow, and animated borders. Sizes to child.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add container_gradient_borderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
container_gradient_border: ^0.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:container_gradient_border/container_gradient_border.dart';