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: SafeArea( child: afterLoad(child: () => Container() ) ); } This will then only display the widget after the boot method has completed.

Implementation

boot() async {
  throw UnimplementedError();
}