createRecognizer method Null safety

GestureRecognizer? createRecognizer(
  1. String? text,
  2. Map<String?, String?> attributes
)

Implementation

GestureRecognizer? createRecognizer(
        String? text, Map<String?, String?> attributes) =>
    null;