GesturePattern constructor

const GesturePattern(
  1. List<GestureType> pattern
)

Creates a GesturePattern with the given list of GestureTypes.

pattern can be empty, which represents no specific pattern.

Implementation

const GesturePattern(this.pattern);