icon_decoration 2.1.0 icon_decoration: ^2.1.0 copied to clipboard
Add decoration capabilities to the Icon widget with borders and gradients.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add icon_decoration
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
icon_decoration: ^2.1.0
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:icon_decoration/icon_decoration.dart';