boot method

dynamic boot()

The boot method called within init. You may override this method for making asynchronous awaits. In your build method, you can use the afterLoad method like in the below example. @override Widget build(BuildContext context) { return Scaffold( body: SafeAreaWidget( child: afterLoad(child: () => Container() ) ); } This will then only display the widget after the boot method has completed.

Implementation

boot() async {}