We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
how to prevent filling when zoom is started ? can you help me ?
InteractiveViewer( panEnabled: true, minScale: 1, maxScale: 4, child: SizedBox( width: 300, height: 300, child: FloodFillImage( imageProvider: NetworkImage("https://previews.123rf.com/images/inhasemiankova/inhasemiankova1606/inhasemiankova160600012/68493780-vector-coloring-simple-sun-round-mandala-for-children.jpg"), fillColor: _fillColor, avoidColor: [Colors.transparent, Colors.black], tolerance: 100, ), ), ),
The text was updated successfully, but these errors were encountered:
You could use the onInteractionStart callback from InteractiveViewer See: https://api.flutter.dev/flutter/widgets/InteractiveViewer-class.html and disable the fill function with "isFillActive" parameter set to false.
Sorry, something went wrong.
Hi Garlen,
Please give me an example in the code, I am almost new to flutter . Thank You
i think the gesture need to be changed, it would be better if the fill should be done by onTapUp or onLongPress
No branches or pull requests
Hi,
how to prevent filling when zoom is started ? can you help me ?
InteractiveViewer( panEnabled: true, minScale: 1, maxScale: 4, child: SizedBox( width: 300, height: 300, child: FloodFillImage( imageProvider: NetworkImage("https://previews.123rf.com/images/inhasemiankova/inhasemiankova1606/inhasemiankova160600012/68493780-vector-coloring-simple-sun-round-mandala-for-children.jpg"), fillColor: _fillColor, avoidColor: [Colors.transparent, Colors.black], tolerance: 100, ), ), ),
The text was updated successfully, but these errors were encountered: