I get it works but the code is not equivalent exactly. In the first one you use language keywords to have a late initializes property. In the second example you initialize it in the initState which is bound to Flutters lifecycle. Most of the time there won't be a difference but it's not the same.
Comments