this post was submitted on 20 Sep 2023
3 points (100.0% liked)

Flutter

679 readers
3 users here now

Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC

founded 2 years ago
MODERATORS
 

This edition covers Flutter performance tips, parallel API calls, the power of the late keyword, hook widgets for state management, and various Flutter-related videos and packages.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] samus7070 1 points 1 year ago

I only use it when I need to initialize a property in a constructor. Otherwise I consider it a bad idea.