transparent_image_button 1.0.0
transparent_image_button: ^1.0.0 copied to clipboard
This package is used to click on Transparent Image as a Gesture, but it's OnTap function works only when it was clicked on the image or photo itself not on the transparent parts.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add transparent_image_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
transparent_image_button: ^1.0.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:transparent_image_button/transparent_image_button.dart';