RectCallback typedef Null safety

RectCallback = Rect Function()

Signature for the callback used by ink effects to obtain the rectangle for the effect.

Used by InkHighlight and InkSplash, for example.

Implementation

typedef RectCallback = Rect Function();