touchable
touchable copied to clipboard
Flutter library to add gestures and animations to each Shape you draw on your canvas in your CustomPainter
Steps to repro: 1. clone this repo. 2. run the example 3. click on screen1 button. You get this error: Incorrect GestureDetector arguments. Having both a pan gesture recognizer and...
Added the missing onPanEnd callback
Hi, I'm using a GestureDetector around the CanvasTouchDetector, as I want to draw the shapes dynamically and the for example move the shapes per drag and drop! When I use...
Can you make the hitTest configurable. I'm drawing a rect with stroke style but I'm interested on when the contained area is clicked. So that I also get the r.contains()...
Hello I'm using this plug-in in the Flutter web project and it works properly. In general, mouse over a clickable element in a web browser, the shape of the mouse...
I love Touchable, but ever since i wanted to use it with new InteractiveViewer widget introduced in Flutter 1.20, the interactiveViewer can't listen to drag or scale or any event,...
import 'dart:math'; import 'dart:ui'; import 'package:flutter/material.dart'; import 'package:touchable/touchable.dart'; void main() => runApp(MyApp()); class MyApp extends StatefulWidget { const MyApp({Key? key}) : super(key: key); @override _MyAppState createState() => _MyAppState(); } class...
I've detected inside library, that drawArc receives optional parameter GestureDragUpdateCallback? onPanUpdate, but inside that function it sends null as a parameter to the nested function. Do you plan to implement...