#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.
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
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
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox
Ways you can deal with exceptions
https://api.dart.dev/dev/2.16.0-35.0.dev/dart-core/Error/throwWithStackTrace.html
Ways you can deal with exceptions
https://api.dart.dev/dev/2.16.0-35.0.dev/dart-core/Error/throwWithStackTrace.html
❤36
Most developers don't know how to debug WebView and CustomTabs and track network requests, layouts, and errors.
But it's very simple
1) Start debugging on your phone or emulator as usual
2) Open in chrome ON YOUR DESKTOP the link
3) Find the web view of the SMARTPHONE on this page
4) Click “
5) Debug with DevTools like a regular website, console, network requests, etc. You can also see what's happening on the screen
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #devtools #webview
But it's very simple
1) Start debugging on your phone or emulator as usual
2) Open in chrome ON YOUR DESKTOP the link
chrome://inspect/#devices3) Find the web view of the SMARTPHONE on this page
4) Click “
inspect”5) Debug with DevTools like a regular website, console, network requests, etc. You can also see what's happening on the screen
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #devtools #webview
❤35
adb shell "input keyevent 61 \
&& input text [email protected] \
&& input keyevent 61 \
&& input text password \
&& input keyevent 66"
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox
❤23