onInitialBuild property

OnInitialBuildCallback<ViewModel>? onInitialBuild
final

A function that will be run after the Widget is built the first time.

This function is passed the initial ViewModel created by the converter function.

This can be useful for starting certain animations, such as showing Snackbars, after the Widget is built the first time.

Implementation

final OnInitialBuildCallback<ViewModel>? onInitialBuild;