onInitialBuild property Null safety

OnInitialBuildCallback<St, Model>? onInitialBuild
final

A function that will be run after the Widget is built the first time. This function is passed the store and the initial Model created by the vm or the converter function. This can be useful for starting certain animations, such as showing snackbars, after the Widget is built the first time.

Implementation

@override
final OnInitialBuildCallback<St, Model>? onInitialBuild;