CompositionCallback typedef Null safety

CompositionCallback = void Function(Layer)

The signature of the callback added in Layer.addCompositionCallback.

Implementation

typedef CompositionCallback = void Function(Layer);