#article #bloc #business #logic #component #dart #dartdev #dartlang #flutter #flutterdev #plugfox
The first in a series of detailed articles about BLoC.
https://plugfox.dev/business-logic-component-1/
The first in a series of detailed articles about BLoC.
https://plugfox.dev/business-logic-component-1/
Plague Fox
Business Logic Component [1/4]
Introduction to the theory of Business Logic Component aka BLoC.
Consideration of the main patterns, concept overview, and problems to be solved.
Consideration of the main patterns, concept overview, and problems to be solved.
🔥30
Forwarded from Dart: Tips Of The Day
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
🔥13
#article #roadmap #developer #progress #learn #path #dart #dartdev #dartlang #flutter #flutterdev #plugfox
Roadmap describing the approximate path of a flutter developer
https://plugfox.dev/flutter-developer-roadmap/
Roadmap describing the approximate path of a flutter developer
https://plugfox.dev/flutter-developer-roadmap/
Plague Fox
Flutter Developer Roadmap
The path of transformation from a yellow-mouthed beginner to a seasoned expert is long and thorny. I put together a subjective roadmap broken down into milestones with the main points of interest on it.
Apply perseverance, and you will reach the top of the…
Apply perseverance, and you will reach the top of the…
🔥16
Forwarded from Dart: Tips Of The Day
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
🔥5
Forwarded from Dart: Tips Of The Day
🔥3
Forwarded from Dart: Tips Of The Day
Explore the power of anonymous functions in Dart to create flexible, expressive, and context-aware code. Learn their use as arguments, closures, value initialization, UI widget building, and conditional execution. Enhance your programming toolkit with these versatile solutions.
https://plugfox.dev/harness-the-power-of-anonymous-functions-in-dart/
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #closure #anonymous #function
https://plugfox.dev/harness-the-power-of-anonymous-functions-in-dart/
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #closure #anonymous #function
Plague Fox
Harness the Power of Anonymous Functions in Dart
Explore the power of anonymous functions in Dart to create flexible, expressive, and context-aware code. Learn their use as arguments, closures, value initialization, UI widget building, and conditional execution. Enhance your programming toolkit with these…
🔥3
Forwarded from Dart: Tips Of The Day
Explore the world of singletons in Dart & Flutter with this comprehensive guide.
https://plugfox.dev/singleton
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #singleton
https://plugfox.dev/singleton
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #singleton
Plague Fox
Taming the Lonely Singleton in Dart
Explore the world of singletons in Dart & Flutter with this comprehensive guide.
🔥9
Forwarded from Dart: Tips Of The Day
Discover how to leverage Dart isolates for effective concurrency, enabling efficient parallelism in your applications. Learn about creating isolates, handling communication, and implementing a watchdog timer.
https://plugfox.dev/mastering-isolates/
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #isolate
https://plugfox.dev/mastering-isolates/
#tipoftheday #dart #dartdev #dartlang #flutter #flutterdev #plugfox #isolate
Plague Fox
Mastering Isolates in Flutter & Dart
Discover how to leverage Dart isolates for effective concurrency, enabling efficient parallelism in your applications. Learn about creating isolates, handling communication, and implementing a watchdog timer.
🔥4
Forwarded from Dart: Tips Of The Day
Since Flutter 3.7, you can store all your API keys inside a JSON file and pass it to a new
E.g.
#TipOfTheDay #Dart #Flutter #PlugFox
--dart-define-from-file flag from the command line.E.g.
--dart-define-from-file=keys.json#TipOfTheDay #Dart #Flutter #PlugFox
🔥6
🔥2
Server-side application with Dart
Сказ о том, как создать серверное приложение на Dart и на что обратить внимание.
На примере не большого проекта.
https://youtube.com/live/dvSdjmrPvkQ
#dart #flutter #docker #infra #stream #livestream #russian #plugfox
Сказ о том, как создать серверное приложение на Dart и на что обратить внимание.
На примере не большого проекта.
https://youtube.com/live/dvSdjmrPvkQ
#dart #flutter #docker #infra #stream #livestream #russian #plugfox
YouTube
Server-side application with Dart
How to create multithread server-side applications with Dart and deploy them.
Let's analyze how the service allows you to search through the documentation of the flutter: https://plugfox.dev/flutter-api-search/
Also, look at shelf (Web server) and drift…
Let's analyze how the service allows you to search through the documentation of the flutter: https://plugfox.dev/flutter-api-search/
Also, look at shelf (Web server) and drift…
🔥2
DART 🎯 FLUTTER
The new #flutter #video "Firestore (Package of the Week)" has arrived ▶️🍿 Firestore is a flexible, scalable NoSQL database for mobile, web and server development by Firebase. It offers real-time updates, ...
Linter, Analyzer & Dart Code Metrics
https://youtube.com/live/Jw9v12_gplA
Присоединяйтесь к нам в этом стриме, где мы детально рассмотрим такие инструменты Dart и Flutter, как линтер, аналайзер и Dart Code Metrics. Мы обсудим, как эти инструменты помогают улучшить качество кода и повысить его читаемость, а также как они могут сделать вашу разработку более эффективной. В течение стрима поговорим с Дмитрием, автором DCM, о использования этих инструментов на практике и ответим на все ваши вопросы. Независимо от того, новичок вы в Dart и Flutter или опытный разработчик, этот стрим даст вам ценные знания и навыки для улучшения вашего кода.
#dart #flutter #dcm #code #metric #linter #analyzer #infra #stream #livestream #russian #plugfox
https://youtube.com/live/Jw9v12_gplA
Присоединяйтесь к нам в этом стриме, где мы детально рассмотрим такие инструменты Dart и Flutter, как линтер, аналайзер и Dart Code Metrics. Мы обсудим, как эти инструменты помогают улучшить качество кода и повысить его читаемость, а также как они могут сделать вашу разработку более эффективной. В течение стрима поговорим с Дмитрием, автором DCM, о использования этих инструментов на практике и ответим на все ваши вопросы. Независимо от того, новичок вы в Dart и Flutter или опытный разработчик, этот стрим даст вам ценные знания и навыки для улучшения вашего кода.
#dart #flutter #dcm #code #metric #linter #analyzer #infra #stream #livestream #russian #plugfox
YouTube
Linter, Analyzer & Dart Code Metrics
Присоединяйтесь к нам в этом стриме, где мы детально рассмотрим такие инструменты Dart и Flutter, как линтер, аналайзер и Dart Code Metrics. Мы обсудим, как эти инструменты помогают улучшить качество кода и повысить его читаемость, а также как они могут сделать…
🔥4
Forwarded from Dart: Tips Of The Day
🚀 Tip of the Day: To avoid potential errors when handling dialog and bottom sheet navigations in your application, consider the following advice:
When displaying a dialog or a bottom sheet, it is shown by default from the ROOT navigator:
However, when calling
This discrepancy leads to issues where a modal route is added to one navigator and pop is called from another. To ensure consistency and avoid errors, use:
Alternatively, create a helper function to manage the top modal route effectively:
Following this approach ensures that pop calls are correctly aligned with the appropriate navigator, preventing wrong and unexpected behavior.
#TipOfTheDay #Dart #Flutter #navigator #pop #plugfox
When displaying a dialog or a bottom sheet, it is shown by default from the ROOT navigator:
showDialog(...);
showModalBottomSheet(...);
However, when calling
pop(), it is called from the NEAREST navigator by default:
Navigator.of(context).pop(...);
Navigator.pop(context, ...);
This discrepancy leads to issues where a modal route is added to one navigator and pop is called from another. To ensure consistency and avoid errors, use:
Navigator.of(context, rootNavigator: true).pop(...);
Alternatively, create a helper function to manage the top modal route effectively:
void popDialog(BuildContext context, [Object? result]) {
final state = Navigator.maybeOf(context, rootNavigator: true);
if (state == null || !state.mounted) return;
state.maybePop(result);
}
void popDialogs(BuildContext context) {
final state = Navigator.maybeOf(context, rootNavigator: true);
if (state == null || !state.mounted) return;
state.popUntil((route) => route is! RawDialogRoute<Object?> && route is! ModalBottomSheetRoute<Object?>);
}
Following this approach ensures that pop calls are correctly aligned with the appropriate navigator, preventing wrong and unexpected behavior.
#TipOfTheDay #Dart #Flutter #navigator #pop #plugfox
🔥8
Forwarded from Dart: Tips Of The Day
🎯 Tip of the Day: Using Extensions in Dart
Extensions in Dart enhance existing types with new methods, making your code cleaner and more readable. Here's a quick look at two useful extensions:
Example 1: Let Extension
The
Example 2: IfNull Extension
The
#TipOfTheDay #Dart #Flutter #extension #let #ifNull #plugfox
Extensions in Dart enhance existing types with new methods, making your code cleaner and more readable. Here's a quick look at two useful extensions:
let and ifNull.Example 1: Let Extension
The
let extension wraps an object in a function, allowing you to perform operations and return the result.
extension LetX<T extends Object?> on T {
R let<R extends Object?>(R Function(T it) callback) => callback(this);
}
void main() {
print(14.let((it) => it * 3)); // Outputs 42
}
Example 2: IfNull Extension
The
ifNull extension provides a default value if the object is null, ensuring safe handling of nullable types.
extension IfNullX<T extends Object> on T? {
T ifNull(T Function() callback) => this ?? callback();
}
void main() {
int? value;
print(value.ifNull(() => 14) * 3); // Outputs 42
}
#TipOfTheDay #Dart #Flutter #extension #let #ifNull #plugfox
🔥5
https://www.youtube.com/live/CzGH6tL6Wdk
Стрим о полнодуплексном соединении и разбор TCP/IP и WebSocket'ов во Flutter и Dart
Также пройдемся по таким темам, как:
- OSI
- Client & Server
- Push & Pull
- TCP/IP
- DNS
- HTTP 1.1
- Polling
- WebSocket
- Centrifuge
- HTTP/2
- gRPC
#dart #flutter #tcp #websocket #socket #centrifugo #duplex #stream #livestream #russian #plugfox
Стрим о полнодуплексном соединении и разбор TCP/IP и WebSocket'ов во Flutter и Dart
Также пройдемся по таким темам, как:
- OSI
- Client & Server
- Push & Pull
- TCP/IP
- DNS
- HTTP 1.1
- Polling
- WebSocket
- Centrifuge
- HTTP/2
- gRPC
#dart #flutter #tcp #websocket #socket #centrifugo #duplex #stream #livestream #russian #plugfox
YouTube
Dart & Flutter: Full duplex connection
OSI
Client & Server
Push & Pull
TCP/IP
DNS
HTTP 1.1
Polling
WebSocket
Centrifuge
HTTP/2
gRPC
Client & Server
Push & Pull
TCP/IP
DNS
HTTP 1.1
Polling
WebSocket
Centrifuge
HTTP/2
gRPC
🔥5
https://plugfox.dev/octopus/
In this video, we learn of my package, "Octopus," for routing and navigation in Flutter.
#dart #flutter #routing #navigation #octopus #livestream #russian #plugfox
In this video, we learn of my package, "Octopus," for routing and navigation in Flutter.
#dart #flutter #routing #navigation #octopus #livestream #russian #plugfox
Plague Fox
Octopus
In this video, we learn of my package, "Octopus," for routing and navigation in Flutter.
🔥10
This comprehensive guide explores advanced yet practical approaches to building high-performance canvas-based Flutter applications. By strategically combining optimized rendering patterns, intelligent state management, GPU acceleration, spatial structures, and robust debugging strategies, you can create smooth, responsive, and visually appealing scenes—even at large scales.
https://plugfox.dev/high-performance-canvas-rendering
#dart #flutter #article #plugfox
https://plugfox.dev/high-performance-canvas-rendering
#dart #flutter #article #plugfox
Plague Fox
High-Performance Canvas Rendering
Efficient rendering strategies for complex, interactive scenes using Flutter Canvas, GPU batching, spatial indexing, and debugging techniques.
🔥10
My new package that allows you to generate Flutter localization from Google Sheets.
https://pub.dev/packages/sheety_localization
#plugfox #package #pub #flutter
https://pub.dev/packages/sheety_localization
#plugfox #package #pub #flutter
Dart packages
sheety_localization | Dart package
A package to generate localization files from Google Sheets. It uses the Google Sheets API to fetch translations and generates Dart localization files for use in Flutter applications.
🔥3