Skip to main content

transparent_tap 0.1.0 copy "transparent_tap: ^0.1.0" to clipboard
transparent_tap: ^0.1.0 copied to clipboard

A Flutter widget that lets taps pass through the transparent pixels of an image, so only the visible (opaque) part of it is tappable.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add transparent_tap

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

dependencies:
  transparent_tap: ^0.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:transparent_tap/transparent_tap.dart';
0
likes
160
points
30
downloads

Documentation

API reference

Publisher

verified publisherharipin.com

Weekly Downloads

A Flutter widget that lets taps pass through the transparent pixels of an image, so only the visible (opaque) part of it is tappable.

Repository (GitHub)
View/report issues

Topics

#widget #image #gesture

License

MIT (license)

Dependencies

flutter

More

Packages that depend on transparent_tap