
Article
Various useful articles
20 posts
High-Performance Canvas Rendering
Efficient rendering strategies for complex, interactive scenes using Flutter Canvas, GPU batching, spatial indexing, and debugging techniques.
20 min read

Dart VM-Specific Pragma Annotations
Tools that work with Dart programs may accept hints to guide their behavior as pragma annotations on declarations. Each tool decides which hints it accepts, what they mean, and whether and how they apply to sub-parts of the annotated entity.
3 min read

Microbenchmarks are experiments
Benchmarks are not just about numbers—they are experiments that need interpretation. This post dissects a Dart vs JavaScript microbenchmark, illustrating why cool animations often mask the real value: insightful analysis. Numbers without context are just as meaningful as numerology
12 min read
Garbage Collection
The Dart VM has a generational garbage collector with two generations. The new generation is collected by a parallel, stop-the-world semispace scavenger. The old generation is collected by concurrent-mark-concurrent-sweep or by concurrent-mark-parallel-compact.
11 min read

Effective Animations in Flutter
How to create efficient and smooth animations in Flutter by optimizing refresh rates, using RepaintBoundary, managing Canvas effectively, and leveraging custom tickers. This guide provides key strategies to minimize performance issues and craft fluid animations without overwhelming your system.
4 min read

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.
17 min read

Taming the Lonely Singleton in Dart
Explore the world of singletons in Dart & Flutter with this comprehensive guide.
4 min read

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 versatile solutions.
2 min read
Handling Asynchronous Dependencies in Flutter & Dart
When working with Flutter and Dart, developers often face situations where a class depends on an async operation, such as fetching data from a network or establishing a database connection. This article presents five tips for handling async dependencies in Dart, illustrated through an example.
2 min read

Android background service with Flutter
How to create a background process on android using flutter.
18 min read