Dart: Tips Of The Day
906 subscribers
32 photos
8 links
Author: @plugfox

Chats:
@en_dart
@ru_dart
Download Telegram
Channel created
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox

Basic error handling anti-patterns that you should avoid.
9
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox

You can add config like that to the Visual Studio Code's settings.json to enable files folding by a specific pattern.


${capture}: Matches the resolved value of the * from the parent pattern

${basename}: Matches the parent file's basename, the file in file.ts

${extname}: Matches the parent file's extension, the ts in file.ts

${dirname}: Matches the parent file's directory name, the src in src/file.ts
*: Matches any string, may only be used once per child pattern
10
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox

With dart:developer and Perfomance Dev Tools you can evaluate the impact of synchronous operations on the interface in a UI thread, as well as measure their performance and decide whether to use an isolate for heavy operations.
25