onInit property

VoidCallback? onInit
final

A callback which does some work when the widget is created.

Implementation

final VoidCallback? onInit;