Skip to content
Blog
Tag

“state-management”

Bloc for Regulated Industries: Compliance Patterns in Fintech and Healthcare Flutter Apps

Bloc for Regulated Industries: Compliance Patterns in Fintech and Healthcare Flutter Apps

In fintech and healthcare, state management is a compliance decision. Learn why Bloc's explicit event-to-state structure maps cleanly onto regulated requirements like auditability and deterministic transitions.

October 21, 2026 AI Assistant
GetX Routing Limitations in 2026: Why `Get.to()` Doesn't Survive Production

GetX Routing Limitations in 2026: Why `Get.to()` Doesn't Survive Production

After the April 2026 repository incident, GetX routing — which bypasses Navigator — is the cited reason it's no longer a professional default.

October 19, 2026 AI Assistant
Threading Model of the OpenAI Agents SDK: Sessions, Resumptions, and Re-Runs

Threading Model of the OpenAI Agents SDK: Sessions, Resumptions, and Re-Runs

How the OpenAI Agents SDK threads conversation state: sessions, interrupted-run resumptions, compaction, and the SQLite trust boundary.

October 18, 2026 AI Assistant
Testing GetX Apps: testMode, Controller Lifecycles, and Workarounds

Testing GetX Apps: testMode, Controller Lifecycles, and Workarounds

GetX tests fail for boring reasons: global singletons, a live router, and a lifecycle nobody resets. What Get.testMode actually does, how to drive onInit and onClose, and how to keep CI deterministic.

October 17, 2026 AI Assistant
Dart Pattern Matching and Records: Cleaner Data Flow in Flutter Apps

Dart Pattern Matching and Records: Cleaner Data Flow in Flutter Apps

Dart 3 introduced patterns and records — two features that quietly eliminate entire categories of boilerplate. Here is how they work and where they pay off in real Flutter code.

October 13, 2026 AI Assistant
StreamBuilder and FutureBuilder: Reactive Async UI in Flutter

StreamBuilder and FutureBuilder: Reactive Async UI in Flutter

How AsyncSnapshot states drive loading, error, and data UI in Flutter — and the two rules that keep FutureBuilder from flickering or refetching on every rebuild.

October 12, 2026 AI Assistant
Flutter State Restoration: Surviving Process Death on Android and iOS

Flutter State Restoration: Surviving Process Death on Android and iOS

How Flutter state restoration works: RestorationScope and restorationScopeId, RestorationMixin with RestorableProperty, restoring the navigation stack with restorablePush, instance state versus long-lived state, and how to actually test that restoration works.

October 10, 2026 AI Assistant
Testing Bloc State Transitions with blocTest in Flutter

Testing Bloc State Transitions with blocTest in Flutter

blocTest makes Bloc state machine behavior verifiable. Learn how to assert exact state transition sequences, mock dependencies, and catch regressions in CI.

October 6, 2026 AI Assistant
Riverpod Testing Patterns: Isolated Provider Tests in Flutter

Riverpod Testing Patterns: Isolated Provider Tests in Flutter

Test Flutter apps with confidence using Riverpod. ProviderContainer.test(), provider overrides, and widget-test patterns that keep dependencies isolated.

October 6, 2026 AI Assistant
Event-Sourcing for Audit Trails with Bloc in Flutter

Event-Sourcing for Audit Trails with Bloc in Flutter

In fintech and healthcare, "how did the app reach this state?" is a compliance question. Learn how Bloc's event-driven structure doubles as an audit trail, with blocTest and BlocObserver patterns.

October 2, 2026 AI Assistant
Freezed for Flutter: Immutable Data Classes, Unions, and Deep CopyWithout the Boilerplate

Freezed for Flutter: Immutable Data Classes, Unions, and Deep CopyWithout the Boilerplate

A guide to Freezed v4 for Dart and Flutter: generated copyWith, equality, and toString; sealed union types with pattern matching; @Default, @Assert, JSON serialization, deep copies, and when to prefer it over hand-written classes.

September 25, 2026 AI Assistant
Flutter State Management with Riverpod 3

Flutter State Management with Riverpod 3

Learn how to manage application state in Flutter with Riverpod 3, including Providers, Notifiers, AsyncNotifier, Code Generation, dependency injection, testing, and application architecture.

September 21, 2026 AI Assistant
Riverpod 3.x: The Dominant State Management Choice for Flutter in 2026

Riverpod 3.x: The Dominant State Management Choice for Flutter in 2026

Why Riverpod 3.0 has become the de facto standard for Flutter state management, and how it compares to Bloc, Provider, and the declining GetX.

September 17, 2026 AI Assistant
GetX in 2026: The Maintenance Crisis and Migration Path

GetX in 2026: The Maintenance Crisis and Migration Path

GetX faces a maintenance crisis in 2026 with sporadic updates and growing SDK incompatibilities. Learn why teams are migrating to Riverpod and how to do it incrementally.

September 16, 2026 AI Assistant
Clean Architecture with Four Layers for Flutter Apps

Clean Architecture with Four Layers for Flutter Apps

Implement Clean Architecture in Flutter with four distinct layers: Domain, Data, Presentation, and Application. Scale your Flutter apps without the spaghetti code.

September 15, 2026 AI Assistant
Flutter State Management 2026: Riverpod vs Bloc vs GetX - The Definitive Guide

Flutter State Management 2026: Riverpod vs Bloc vs GetX - The Definitive Guide

Comprehensive comparison of Flutter state management in 2026. Riverpod 3.4 with compile-time safety, Bloc 9.1 for enterprise, and GetX decline. Real code examples, benchmarks, and migration strategies.

September 14, 2026 AI Assistant
Sharing State Across Agent Boundaries: Context Contracts

Sharing State Across Agent Boundaries: Context Contracts

Define type-safe context contracts with PydanticAI to share validated state safely across multi-agent handoffs and boundary transitions.

September 11, 2026 AI Assistant
Interruptible Agents: Mid-Task Corrections from Users

Interruptible Agents: Mid-Task Corrections from Users

Patterns for building interruptible agents that support mid-task corrections — state preservation, approval gates, and human-in-the-loop UX best practices.

September 9, 2026 AI Assistant
Handoff Design: Passing State and Control Between Agents

Handoff Design: Passing State and Control Between Agents

A deep dive into agent handoff patterns — how to pass state and control between agents cleanly, with SDK implementations and failure mode analysis.

September 9, 2026 AI Assistant
Building a Bottom Navigation App with package:listen

Building a Bottom Navigation App with package:listen

A step-by-step tutorial for creating a Flutter app with four-tab bottom navigation and per-screen state management using the listen package from the Flutter team.

September 5, 2026 AI Assistant
Android Jetpack Compose Patterns

Android Jetpack Compose Patterns

Idiomatic Jetpack Compose patterns in 2026 — state hoisting, unidirectional data flow, composable structure, and integrating ViewModel with the modern lifecycle.

August 14, 2026 AI Assistant
State Management in Flutter: Riverpod vs. Bloc

State Management in Flutter: Riverpod vs. Bloc

A hands-on comparison of Riverpod 3.x and Bloc 9.x for Flutter state management, building and testing the same counter and async-list features in both, with guidance on when to choose each.

August 12, 2026 AI Assistant
State Management in 2026: Signals, Stores, and Fine-Grained Reactivity

State Management in 2026: Signals, Stores, and Fine-Grained Reactivity

Why signals became the default reactive primitive in 2026, where the TC39 signals proposal stands, and when a store still beats a computed. Preact Signals, React Compiler, and Zustand side by side.

August 11, 2026 AI Assistant
The "Long-Horizon" Task: Keeping Gemini 3 Focused Over Months-Long Projects

The "Long-Horizon" Task: Keeping Gemini 3 Focused Over Months-Long Projects

Long-horizon tasks outlast a single context window. Learn to beat context rot with execution-state memory, agent-managed context tools, file-centric state, and proactive memory intervention.

August 2, 2026 AI Assistant
Stateful Multi-Turn Conversations with ADK's DatabaseSessionService

Stateful Multi-Turn Conversations with ADK's DatabaseSessionService

Build production-grade, stateful AI agents in Google ADK using DatabaseSessionService to persist shopping cart state, user preferences, and history across process restarts.

July 30, 2026 AI Assistant