Tagged articles
provider
17 articles · Page 1 of 1
Hermes Agent’s auxiliary_client.py implements a seven‑level provider fallback chain that ensures auxiliary tasks keep running even if the main LLM crashes, runs out of credits, or hits rate limits, by prioritizing the user’s primary provider, cycling through alternative providers, and handling protocol quirks.
AI agentsHermesLLM
0 likes · 14 min read

Riverpod 3.0 introduces automatic retry for failing providers, built‑in pause/resume of listeners, experimental offline caching and mutation support, a unified API that merges AutoDispose and legacy providers, standardized update filtering with ==, and revamped ProviderObserver, all aimed at simplifying state management in Flutter apps.
API migrationFlutterRiverpod
0 likes · 16 min read

Riverpod annotations streamline Flutter state management by using build_runner to generate provider code, where @riverpod on functions creates Provider, FutureProvider, or StreamProvider based on return type, on classes creates NotifierProvider, supports Family‑pattern parameters, keepAlive, dependencies, and produces helper classes for auto‑dispose and scoped overrides.
AnnotationsFamilyFlutter
0 likes · 13 min read

This article explains the concept of state in Flutter, distinguishes local and global state, reviews built‑in state‑handling mechanisms such as setState and InheritedWidget, outlines criteria for selecting a state‑management library, and provides a step‑by‑step guide with code examples for using the Provider package, including advanced features like MultiProvider, FutureProvider, Selector, and the underlying implementation details of InheritedProvider.
DartFlutterReactive Programming
0 likes · 22 min read

This article provides an in‑depth tutorial on Riverpod for Flutter, covering its differences from Provider, step‑by‑step setup, core concepts, various Provider types, state management techniques, async handling, code generation, and advanced patterns such as side effects, request merging, and lifecycle control.
DartFlutterRiverpod
0 likes · 25 min read

This article introduces Google Wire, a static‑analysis‑based dependency injection tool for Go, covering its key features, installation steps, core usage patterns—including defining dependencies, creating providers, generating code, and best practices such as modular management, interface abstraction, and testing with mock implementations.
GoGoogle Wirecode generation
0 likes · 8 min read

This article demonstrates various Spring dependency‑injection techniques—including Optional, ObjectProvider, Provider, arrays, collections, maps, @Value literals and SpEL expressions, as well as @Lazy proxies—showing the code and resulting bean representations for each approach.
@Lazy@ValueJava
0 likes · 6 min read

This article guides beginners through the crowded landscape of Flutter state‑management solutions, comparing Provider, Riverpod, BLoC, flutter_redux, fish_redux, GetX and others, while showing that integration size impact is negligible and emphasizing that the final choice should match project needs and maintenance considerations.
BLoCFlutterGetX
0 likes · 14 min read


58 TechSep 20, 2022 · Mobile Development
State management in Flutter involves understanding different state types—ephemeral and application—using stateful and stateless widgets, and selecting appropriate frameworks such as Provider, Redux, GetX, and others, each with distinct advantages, drawbacks, and usage patterns to efficiently handle UI updates and data sharing across components.
GetXReduxState Management
0 likes · 15 min read


JD TechAug 18, 2022 · Mobile Development
This article introduces a novel Flutter state‑refresh technique that leverages Dart extension properties to implement an observer pattern, compares it with the traditional Provider/ChangeNotifier approach, and demonstrates a more granular, flexible solution called TosObWidget with complete code examples and performance analysis.
DartFlutterState Management
0 likes · 13 min read

This article shares the performance optimization techniques used by Ctrip Train Ticket's Flutter team, covering rendering bottlenecks, selective UI refresh with Provider Selector, granular setState usage, ViewModel splitting, widget caching, const usage, RepaintBoundary, isolate off‑loading, long‑list handling and image loading memory management.
Renderingisolatemobile
0 likes · 20 min read

Terraform enables declarative, code‑driven provisioning of cloud resources such as VPCs, virtual hosts, load balancers, databases, and storage across multiple providers, simplifying infrastructure management through reusable providers and modules, version control, and state tracking, thereby reducing manual configuration effort.
IaCInfrastructure as CodeTerraform
0 likes · 4 min read

This article explains how to use the Provider package for state management in Flutter, detailing its implementation, including ChangeNotifierProvider, Consumer, ProxyProvider, and the underlying InheritedWidget mechanism, and compares it with other popular Flutter state‑management solutions.
ChangeNotifierConsumerFlutter
0 likes · 24 min read

This article explains why Ctrip's team adopted Flutter for cross‑platform mobile development, details the use of Provider for MVVM state management, presents performance tuning methods, layout tricks, and solutions to common Flutter pitfalls, offering a comprehensive guide for mobile engineers.
MVVMmobile-developmentprovider
0 likes · 19 min read

This article explains when to use a state‑management solution in Flutter, compares Ephemeral and App state, and provides detailed overviews, usage steps, and pros‑cons of InheritedWidget, Provider, and the newer Riverpod library.
InheritedWidgetRiverpodState Management
0 likes · 17 min read

This article explains Flutter widget communication techniques—direct value passing, function callbacks, key modification, and GlobalKey—and explores state management solutions including InheritedWidget, Stream, EventBus, Bloc, Scoped_model, Provider, and Redux for cross-widget/page communication, and discusses their underlying principles and usage scenarios.
FlutterInheritedWidgetState Management
0 likes · 9 min read


政采云技术Jan 19, 2021 · Mobile Development
This article provides a thorough introduction to the Provider package for Flutter, explaining its purpose as a wrapper around InheritedWidget, detailing step‑by‑step usage, showcasing code examples for ChangeNotifier, ChangeNotifierProvider, MultiProvider, Consumer, Selector, ProxyProvider, FutureProvider and StreamProvider, and discussing performance considerations and best practices for mobile development.
Dartflutter-providermobile-development
0 likes · 19 min read
