shadow 0.0.2 shadow: ^0.0.2 copied to clipboard
the easiest way to Add Shadow to any type of widget with some basic customization, you can set the placement of the shadow as well as the shadow opacity and you can control the size of the shade so it [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shadow
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
shadow: ^0.0.2
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:shadow/shadow.dart';