EffectCallback typedef
EffectCallback =
dynamic Function()
A passive or layout effect callback.
The dynamic return type intentionally accepts both void callbacks and
callbacks that return an EffectCleanup, matching React's optional cleanup
contract without warning on ordinary Dart callbacks.
Implementation
typedef EffectCallback = dynamic Function();