Tag

Dart

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 25, 2025 · Mobile Development

Building a Free Ad‑Free Music Streaming App with Flutter: Motivation, Learning, Design, and Development Experience

This article chronicles the author's journey of creating a free, ad‑free music streaming app with Flutter, covering the initial motivation, learning curve, UI/UX design decisions, core features, chosen libraries, development challenges, and overall experience over two months.

App DesignDartFlutter
0 likes · 9 min read
Building a Free Ad‑Free Music Streaming App with Flutter: Motivation, Learning, Design, and Development Experience
Sohu Tech Products
Sohu Tech Products
Mar 5, 2025 · Mobile Development

Flutter 3.29 Merges Platform and UI Threads: What It Means for Cross-Platform Development

Flutter 3.29 merges the Android/iOS platform thread with the Flutter UI thread, causing Dart code to run on the app’s main thread, simplifying task‑runner coordination, microtask handling, and synchronous platform interactions—while improving rendering and text input, it may break unadapted plugins unless the feature is disabled via metadata.

Asynchronous CommunicationDartFlutter
0 likes · 7 min read
Flutter 3.29 Merges Platform and UI Threads: What It Means for Cross-Platform Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 26, 2025 · Frontend Development

Flutter vs Vue: Building a Card Component with Comparative Code

This article walks through the step‑by‑step implementation of a card UI component in both Flutter and Vue, explains the structural and styling differences, shows how to pass data and handle events, and concludes with a summary of Flutter’s widget‑centric approach, providing a practical learning resource for front‑end developers.

Card ComponentDartFlutter
0 likes · 22 min read
Flutter vs Vue: Building a Card Component with Comparative Code
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2025 · Fundamentals

The Evolution of Smalltalk, Strongtalk, HotSpot, V8, and Dart: A Journey Through Virtual Machines

From Smalltalk’s pioneering pure‑object orientation, through Strongtalk’s static typing and Sun’s HotSpot JVM, to Lars Bak’s V8 JavaScript engine and the subsequent Dart language, a handful of innovators—including Gilad Bracha, Urs Hölzle, and Bak himself—have continually reshaped virtual‑machine performance and modern programming ecosystems.

DartJavaV8
0 likes · 7 min read
The Evolution of Smalltalk, Strongtalk, HotSpot, V8, and Dart: A Journey Through Virtual Machines
Sohu Tech Products
Sohu Tech Products
Dec 11, 2024 · Mobile Development

Understanding the Repository Pattern in Flutter

The Repository pattern in Flutter abstracts data access behind a type‑safe interface, isolating domain models from API, database, or device details, enabling easy swapping of implementations, simplifying testing with mocks, and promoting clean architecture by keeping UI code separate from business and networking logic.

DartFlutterRepository Pattern
0 likes · 15 min read
Understanding the Repository Pattern in Flutter
Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Mobile Development

Understanding Flutter's OverlayPortal: Architecture, Usage, and Differences from OverlayEntry

Flutter’s OverlayPortal adds a page‑scoped layer to the global Overlay, letting widgets like tooltips inherit parent state while remaining independent in the overlay hierarchy, and replaces many OverlayEntry use‑cases by using a controller, surrogate render objects, and automatic lifecycle management.

DartFlutterOverlay
0 likes · 8 min read
Understanding Flutter's OverlayPortal: Architecture, Usage, and Differences from OverlayEntry
Sohu Tech Products
Sohu Tech Products
Nov 6, 2024 · Mobile Development

Monorepo and Workspaces in Flutter: Benefits, Challenges, and Implementation

Flutter is moving toward a unified monorepo that merges its engine, buildroot, and framework repositories, enabling atomic commits, reduced internal version conflicts, and streamlined CI, while Dart 3.5 workspaces let adjacent packages share analysis contexts and a single lockfile, improving dependency management and memory efficiency.

CIDartFlutter
0 likes · 9 min read
Monorepo and Workspaces in Flutter: Benefits, Challenges, and Implementation
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 24, 2024 · Mobile Development

Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable

This article explains the fundamentals of JSON serialization and deserialization in Flutter, compares manual and automated approaches, introduces the json_serializable library and its annotations, demonstrates generic handling, custom converters, and tooling to streamline model generation for robust mobile app development.

DartFlutterJSON
0 likes · 23 min read
Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 15, 2024 · Mobile Development

Flutter Upgrade Process to Version 3.24

This article explains the step-by-step process for upgrading Flutter to version 3.24, covering preparation, environment configuration, known pitfalls, API changes, new features, and code adjustments to ensure a smooth migration for mobile developers.

DartFlutterFlutter 3.24
0 likes · 11 min read
Flutter Upgrade Process to Version 3.24
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 29, 2024 · Mobile Development

GetX Scaffold: A Rapid Development Scaffold for Flutter

GetX Scaffold is a rapid development scaffold built on the GetX framework for Flutter, offering a comprehensive template with global methods, extensions, widgets, internationalization, and network utilities to accelerate app development across multiple Flutter versions.

DartFlutterGetX
0 likes · 21 min read
GetX Scaffold: A Rapid Development Scaffold for Flutter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 28, 2024 · Mobile Development

Implementing MVVM with Riverpod in Flutter: A ViewModel‑Based State Management Guide

This article explains how to introduce the ViewModel concept into a Flutter project and use Riverpod 2.0’s NotifierProvider to achieve a clean separation of UI and business logic, illustrated with a complete login‑page example and reusable code snippets.

DartFlutterMVVM
0 likes · 12 min read
Implementing MVVM with Riverpod in Flutter: A ViewModel‑Based State Management Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2024 · Mobile Development

Flutter Animation Tutorial: Core APIs, Concepts, and Practical Examples

This article provides a comprehensive guide to Flutter animations, covering fundamental concepts, terminology, core animation APIs, step‑by‑step code examples for scaling, rotating, looping, custom curves, staggered animations, and additional widgets, helping developers create smooth and interactive UI effects on mobile platforms.

DartFlutteranimation
0 likes · 24 min read
Flutter Animation Tutorial: Core APIs, Concepts, and Practical Examples
Sohu Tech Products
Sohu Tech Products
Aug 14, 2024 · Mobile Development

Understanding Flutter Status Bar Height: Why MediaQuery.padding.top Returns 0

In Flutter, MediaQuery.of(context).padding.top reports the system UI inset rather than the actual status‑bar height, and when a Scaffold (especially with an AppBar) consumes this padding the value becomes zero, so developers must read the raw view padding via WidgetsBinding or MediaQueryData.fromView to reliably obtain the status‑bar height.

AndroidDartFlutter
0 likes · 5 min read
Understanding Flutter Status Bar Height: Why MediaQuery.padding.top Returns 0
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 28, 2024 · Mobile Development

Getting Started with Flutter: Motivation, Environment Setup, and Code Walkthrough

This article explains why the author chose to learn Flutter for cross‑platform app development, outlines a step‑by‑step Windows environment setup (including SDK download, PATH configuration, mirror sources, and IDE installation), and provides a detailed line‑by‑line explanation of the default main.dart demo with code snippets and suggestions for extending the sample.

DartFlutterSetup
0 likes · 21 min read
Getting Started with Flutter: Motivation, Environment Setup, and Code Walkthrough
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 15, 2024 · Mobile Development

Best Practices for Robust Dart and Flutter Development: Uri, Type Conversion, List Handling, ChangeNotifier, and Resource Management

This article presents a comprehensive guide to writing safer and more maintainable Flutter code by demonstrating proper Uri construction, type checking with 'is' versus 'as', safe List operations using the collection package, disciplined use of ChangeNotifier and its providers, and systematic resource disposal patterns.

ChangeNotifierDartFlutter
0 likes · 18 min read
Best Practices for Robust Dart and Flutter Development: Uri, Type Conversion, List Handling, ChangeNotifier, and Resource Management
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 14, 2024 · Mobile Development

Automated Parsing and Code Generation for the TolyUI Flutter Framework

This article explains how the TolyUI Flutter UI framework automates the parsing of component demo files and generates corresponding Dart code using annotations, regular expressions, and a command‑line tool, thereby simplifying maintenance and improving development efficiency for mobile applications.

AnnotationsDartFlutter
0 likes · 13 min read
Automated Parsing and Code Generation for the TolyUI Flutter Framework
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 25, 2024 · Mobile Development

Optimizing Image Size Retrieval and Memory Management in Flutter

This article examines a Flutter technique for obtaining image dimensions, identifies missing listener removal that can cause memory leaks, and presents an enhanced extension using ImageProvider and ImageDescriptor to safely retrieve size information with optional decode avoidance.

DartFlutterImage
0 likes · 16 min read
Optimizing Image Size Retrieval and Memory Management in Flutter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 7, 2024 · Mobile Development

Implementing Data Classes and Sealed Classes in Dart (Comparison with Kotlin)

This article explains how to replicate Kotlin's data class and sealed class features in Dart for Flutter development, covering manual implementations, popular packages such as freezed, equatable, and built_value, as well as the new sealed class support introduced in Dart 3.0.

DartData ClassEquatable
0 likes · 14 min read
Implementing Data Classes and Sealed Classes in Dart (Comparison with Kotlin)