container_gradient_border 0.1.1 copy "container_gradient_border: ^0.1.1" to clipboard
container_gradient_border: ^0.1.1 copied to clipboard

A Flutter widget that applies a gradient border to any child widget using CustomPaint. Supports LinearGradient, RadialGradient, and SweepGradient. Sizes to child automatically — no fixed height/width required.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add container_gradient_border

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  container_gradient_border: ^0.1.1

Alternatively, 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';
6
likes
150
points
267
downloads
screenshot

Documentation

API reference

Publisher

verified publisherigloodev.in

Weekly Downloads

A Flutter widget that applies a gradient border to any child widget using CustomPaint. Supports LinearGradient, RadialGradient, and SweepGradient. Sizes to child automatically — no fixed height/width required.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on container_gradient_border