Tag

Provider

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 12, 2025 · Mobile Development

Riverpod Annotations Explained: Code Generation and Advanced Usage in Flutter

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
Riverpod Annotations Explained: Code Generation and Advanced Usage in Flutter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 25, 2024 · Mobile Development

Understanding Flutter State Management and Provider: Concepts, Built‑in Options, and Practical Usage

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.

DartFlutterProvider
0 likes · 22 min read
Understanding Flutter State Management and Provider: Concepts, Built‑in Options, and Practical Usage
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 2, 2024 · Mobile Development

Comprehensive Guide to Riverpod: From Basics to Advanced Usage in Flutter

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.

DartFlutterProvider
0 likes · 25 min read
Comprehensive Guide to Riverpod: From Basics to Advanced Usage in Flutter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 22, 2024 · Backend Development

Spring Dependency Injection Tricks: Optional, Provider, Collections, @Value & @Lazy

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.

JavaLazyObjectProvider
0 likes · 6 min read
Spring Dependency Injection Tricks: Optional, Provider, Collections, @Value & @Lazy
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2022 · Mobile Development

Choosing a Flutter State Management Framework: Provider, Riverpod, BLoC, GetX and Others

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
Choosing a Flutter State Management Framework: Provider, Riverpod, BLoC, GetX and Others
58 Tech
58 Tech
Sep 20, 2022 · Mobile Development

State Management in Flutter: Concepts, Classifications, and Common Frameworks

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.

FlutterGetXProvider
0 likes · 15 min read
State Management in Flutter: Concepts, Classifications, and Common Frameworks
JD Tech
JD Tech
Aug 18, 2022 · Mobile Development

A New Approach to State Refresh in Flutter Using Extension Properties and TosObWidget

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.

DartFlutterProvider
0 likes · 13 min read
A New Approach to State Refresh in Flutter Using Extension Properties and TosObWidget
Ctrip Technology
Ctrip Technology
Apr 7, 2022 · Mobile Development

Flutter Rendering Performance Optimization Practices at Ctrip Train Ticket

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.

FlutterIsolateMobile
0 likes · 20 min read
Flutter Rendering Performance Optimization Practices at Ctrip Train Ticket
System Architect Go
System Architect Go
Mar 27, 2022 · Cloud Computing

Terraform: Infrastructure as Code

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 CodeModule
0 likes · 4 min read
Terraform: Infrastructure as Code
Sohu Tech Products
Sohu Tech Products
Feb 9, 2022 · Mobile Development

Flutter State Management: Using Provider and Source Code Analysis

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
Flutter State Management: Using Provider and Source Code Analysis
Ctrip Technology
Ctrip Technology
Apr 29, 2021 · Mobile Development

Flutter Development Practices: Choosing Flutter, Provider MVVM, Performance Optimization, Layout Techniques, and Common Issues

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.

FlutterMVVMPerformance
0 likes · 19 min read
Flutter Development Practices: Choosing Flutter, Provider MVVM, Performance Optimization, Layout Techniques, and Common Issues
Beike Product & Technology
Beike Product & Technology
Jan 31, 2021 · Mobile Development

Flutter Widget Communication and State Management: Techniques and Principles

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.

FlutterInheritedWidgetProvider
0 likes · 9 min read
Flutter Widget Communication and State Management: Techniques and Principles
政采云技术
政采云技术
Jan 19, 2021 · Mobile Development

Comprehensive Guide to Flutter Provider State Management

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.

DartFlutterProvider
0 likes · 19 min read
Comprehensive Guide to Flutter Provider State Management