onCreate property

PictureEventCallback? onCreate
getter/setter pair

A callback that is invoked to report a picture creation.

It's preferred to use MemoryAllocations in flutter/foundation.dart than to use onCreate directly because MemoryAllocations allows multiple callbacks.

Implementation

static PictureEventCallback? onCreate;