PatternClicked typedef Null safety

PatternClicked = void Function(String text, ClickablePattern clickablePattern)

Implementation

typedef PatternClicked = void Function(
    String text, ClickablePattern clickablePattern);