Tagged articles
PlatformView
10 articles · Page 1 of 1
This article examines a video rendering bug in Flutter when combining Texture widgets with PlatformView using Hybrid Composition, analyzes the underlying engine and rendering pipeline across Android, and presents three concrete solutions—including engine patches and Dart API tweaks—to restore proper texture refresh.
Hybrid CompositionPlatformViewRendering
0 likes · 18 min read

This article explains how to integrate the Baidu map plugin into a FlutterBoost hybrid project, describes the PlatformView mechanism, analyzes rendering and thread‑synchronization details, and provides concrete solutions for iOS white‑screen, Android freeze, memory‑leak, custom markers and visible‑range problems.
FlutterBoostPlatformViewmap
0 likes · 18 min read

This article analyzes the high memory consumption of Flutter's Image widget, PlatformView leaks, and IOSurface residues on iOS, then presents concrete solutions such as external texture rendering, empty‑page redraw, engine reset, and a custom Expando‑based memory‑leak detector built with Dart VM Service.
ExpandoFlutterPlatformView
0 likes · 21 min read

This article details several real‑world Flutter performance problems encountered at Soul—including excessive memory usage for emojis, iOS 14 debug launch restrictions, high CPU consumption of Lottie animations, background‑foreground flickering, and PlatformView memory leaks—and provides concrete mitigation strategies with code examples.
FlutterMemoryPlatformView
0 likes · 11 min read

This article explains the evolution, advantages, and constraints of Android PlatformView options—VirtualDisplays, HybridComposition, and TextureLayer—in Flutter hybrid development, guiding developers on how to select the appropriate implementation for different Flutter versions, use‑cases, and map SDKs.
Hybrid DevelopmentPlatformViewmap-sdk
0 likes · 13 min read

This article provides a deep technical walkthrough of how Canvas is rendered inside Taobao's widget system, covering the DSL‑standardized widget container, the Weex2.0 kernel, PlatformView embedding techniques, and the complete rendering pipeline from Canvas API to Android surface composition.
AndroidPlatformViewUnicorn Engine
0 likes · 14 min read

This article details Xianyu's engineering journey to replace third‑party live‑streaming SDKs with a custom, Flutter‑based cross‑platform solution that addresses customization difficulty, platform consistency, and log tracing while outlining design principles, module implementations, and performance outcomes.
FlutterPlatformViewcross-platform
0 likes · 13 min read

This article explains the thread‑merging problem that arises when using PlatformView in multi‑engine Flutter scenarios, analyzes its root causes in both independent and lightweight engines, and presents a comprehensive solution—including code changes, task‑queue merging logic, and practical implementation details — that has been merged into the official Flutter engine repository.
C++DartFlutter
0 likes · 28 min read

This article explains the thread‑merging problem that arises when using PlatformView in Flutter’s multi‑engine setups, analyzes the root causes in both independent and lightweight engines, and presents a comprehensive solution that modifies the engine’s task‑runner merging logic to support one‑to‑many merges.
FlutterPlatformViewThread Merging
0 likes · 27 min read

This article details Alibaba's multi‑stage approach to aligning Flutter's image loading with native optimizations—covering initial wrappers, MethodChannel bridging, PlatformView pitfalls, and a Texture‑PixelBuffer solution—to achieve comparable performance and memory efficiency.
MethodChannelPixelBufferPlatformView
0 likes · 9 min read
