OnCreatedFunction typedef

OnCreatedFunction = void Function(ReorderableEntity reorderableEntity, GlobalKey<State<StatefulWidget>> key)

Callback after creating widget that contains ReorderableEntity and a key.

The key is related to reorderableEntity and will be used to determine size and position of the widget.

Implementation

typedef OnCreatedFunction = void Function(
  ReorderableEntity reorderableEntity,
  GlobalKey key,
);