onInit method

void onInit(
  1. WidgetbookState state
)

Gets called on first launch of Widgetbook with the initial state.

Implementation

void onInit(WidgetbookState state) {}