Late can be useful but it should only be used as a last resort. It’s extremely dangerous and can very very easily lead to exceptions when refactoring code.
this post was submitted on 20 Sep 2023
3 points (100.0% liked)
Flutter
3 readers
1 users here now
Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC
founded 1 year ago
MODERATORS
I only use it when I need to initialize a property in a constructor. Otherwise I consider it a bad idea.