onCreate property

ImageEventCallback? onCreate
getter/setter pair

A callback that is invoked to report an image creation.

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

Implementation

static ImageEventCallback? onCreate;