one_dollar_unistroke_recognizer library

Classes

RecognizedCustomUnistroke<K>
A recognized unistroke, with a custom key type.

Enums

DefaultUnistrokeNames
The enum of the names of the default unistrokes.

Properties

default$1Unistrokes List<Unistroke<DefaultUnistrokeNames>>
The default unistroke templates provided by this package.
final
example$1Unistrokes List<Unistroke<String>>
The example set of unistroke templates, taken from the JavaScript version of the $1 recognizer.
final
referenceUnistrokes List<Unistroke>
The unistroke templates that can be recognized by recognizeUnistroke.
getter/setter pair

Functions

recognizeCustomUnistroke<K>(List<Offset> inputPoints, {bool useProtractor = true, List<Unistroke<K>>? overrideReferenceUnistrokes, K? straightLineName}) RecognizedCustomUnistroke<K>?
Recognizes a unistroke from inputPoints.
recognizeUnistroke<K extends DefaultUnistrokeNames>(List<Offset> inputPoints, {bool useProtractor = true, List<Unistroke<K>>? overrideReferenceUnistrokes}) RecognizedUnistroke?
Recognizes a unistroke from inputPoints.
recognizeUnistrokeOfType<K>(List<Offset> inputPoints, {bool useProtractor = true, List<Unistroke<K>>? overrideReferenceUnistrokes}) RecognizedCustomUnistroke<K>?
Recognizes a unistroke from inputPoints.