10 Lesser-Known Dart and Flutter Functionalities You Should Start Using

I have spent significant time on this article, and I hope you will like it. Let me know which of these 10 you didn’t know and learned from this article, or which one you like more.

9 Likes

Really great article, thanks for sharing.

I’d been hoping for an API to “run on an isolate, if the platform supports it”—I had no idea that compute() already exists!


My only critique would be about the try/catch snippets in the article. Generally, the best practice is to only catch on Exception or one of its subtypes; the avoid_catching_errors rule helps to enforce this.

I think it’d be best for Dart code snippets to take this into account, though it unfortunately means the examples become a bit less concise.

1 Like