gradient_opacity_mask 1.0.0
gradient_opacity_mask: ^1.0.0 copied to clipboard
A versatile Flutter widget that applies a customizable gradient mask (linear, radial, or sweep) to any child widget, allowing for beautiful fade effects.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gradient_opacity_maskThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
gradient_opacity_mask: ^1.0.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:gradient_opacity_mask/gradient_opacity_mask.dart';