From: Kevin Worth Date: Mon, 4 May 2020 00:21:31 +0000 (-0400) Subject: Add initState to start the async call to fetch player X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=6382d12f524932ff1d26957e86428047714b128c;hp=6382d12f524932ff1d26957e86428047714b128c;p=lmno.games Add initState to start the async call to fetch player initState is a good place to do asynchronous calls that we just need to happen one time at the beginning. So, in initStart we fetch the player and put it in a Future, and then when (each and every time) build gets called, it uses what has been fetched or shows the spinner if the fetch hasn't completed successfully yet. ---