EagerGestureRecognizer constructor Null safety

  1. {@Deprecated('Migrate to supportedDevices. ' 'This feature was deprecated after v2.3.0-1.0.pre.') PointerDeviceKind? kind,
  2. Set<PointerDeviceKind>? supportedDevices}

Create an eager gesture recognizer.

It's possible to limit this recognizer to a specific set of PointerDeviceKinds by providing the optional supportedDevices argument. If supportedDevices is null, the recognizer will accept pointer events from all device kinds.


    'Migrate to supportedDevices. '
    'This feature was deprecated after v2.3.0-1.0.pre.',
  PointerDeviceKind? kind,
  Set<PointerDeviceKind>? supportedDevices,
}) : super(kind: kind, supportedDevices: supportedDevices);