custom_long_tap

Creator: coderz1093

Last updated:

0 purchases

custom_long_tap Image
custom_long_tap Images

Languages

Categories

Add to Cart

Description:

custom long tap

long_press_widget #
A GestureDetector where you can set the Duration for LongPress callback
Getting Started #
Installing: #
Add this to pubspec.yaml

dependencies:
custom_long_tap: ^0.0.1

Import this:
import 'package:custom_long_tap/custom_long_tap.dart';
Example:

CustomLongTap(

widget: Container(

child: Text('Press ME!'),

),

duration: Duration(seconds: 5),

onShortTap: () {

// do something on normal press

},

onLongTap: () {

// do something on long press

},

),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.