gesture_recognition_v2

Last updated:

0 purchases

gesture_recognition_v2 Image
gesture_recognition_v2 Images
Add to Cart

Description:

gesture recognition v2

gesture_recognition_v2 #


> A gesture recognition verification lock
> [gesture_recognition](https://pub.dev/packages/gesture_recognition) Enhanced Edition
copied to clipboard
中文 English #

Dependencies #
dependencies:
gesture_recognition_v2: ^version
copied to clipboard
Demonstration #


Example #
Settings PassWord
GestureView(
immediatelyClear: true,
size: MediaQuery.of(context).size.width,
onPanUp: (List<int> items) {
setState(() {
result = items;
});
},
)
copied to clipboard
Verify PassWord
GlobalKey<GestureState> gestureStateKey = GlobalKey();

GestureView(
key: this.gestureStateKey,
size: MediaQuery.of(context).size.width*0.8,
selectColor: Colors.blue,
onPanUp: (List<int> items) {
analysisGesture(items);
},
onPanDown: () {
gestureStateKey.currentState.selectColor = Colors.blue;
setState(() {
status = 0;
});
},
)
copied to clipboard
Parameter #



Props
Type
Description
DefaultValue
isRequired




size
double
The size of the component, the width is equal to the height

true


selectColor
Color
The color when selected
Colors.blue
false


unSelectColor
Color
Color when not selected
Colors.grey
false


ringWidth
double
Outer ring width of the point
4
false


ringRadius
double
Inner ring radius of the point
30
false


showUnSelectRing
bool
Whether the outer ring is displayed when the point is not selected
true
false


circleRadius
double
Inner radius of the point
20
false


lineWidth
double
Connection line width
6
false


onPanUp
Function(List
After the finger is raised

false


onPanDown
Function()
After pressing your finger

false


immediatelyClear
bool
Clear the trace after lifting the hand
false
false


forceConsecutiveDots
bool
Forced continuous connection
false
false

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.