Tagged articles
MethodChannel
11 articles · Page 1 of 1
This guide explains how to mock Flutter MethodChannels for unit testing using TestDefaultBinaryMessenger, capture the maximum keyboard height across iOS and Android by tracking viewInsets in didChangeMetrics, and quickly create new‑user guide bubbles with OverlayEntry by calculating a target widget’s rectangle and inserting a positioned overlay.
FlutterGuide BubbleKeyboard Height
0 likes · 9 min read

The article explains how to correctly handle MethodChannel bridge calls, avoid async/await concurrency pitfalls, interpret FPS metrics beyond raw frame rates, and get started with Flutter’s new Impeller rendering engine, highlighting its setup, benefits, and current limitations.
FlutterImpellerMethodChannel
0 likes · 9 min read

This tutorial explains step‑by‑step how to create a custom iOS Flutter plugin for audio playback, covering the MethodChannel architecture, Dart side implementation, Swift native code, and communication of playback controls and status between Flutter and iOS.
AudioPlayerDartFlutter
0 likes · 15 min read

This article explains how to combine Flutter and native code using FlutterBoost, covering global router construction, page navigation, parameter passing, startActivityForResult handling, and MethodChannel communication to achieve efficient, consistent hybrid mobile applications.
FlutterBoostHybrid DevelopmentMethodChannel
0 likes · 12 min read

Xianyu tackles Flutter’s slow hybrid compilation and native‑module integration pain by introducing a minimal‑shell modular architecture and a two‑phone cross‑process setup that falls back from MethodChannel to socket communication, speeding builds, isolating components, and improving data consistency while adding maintenance and device constraints.
AndroidCross-ProcessFlutter
0 likes · 9 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

This article explains how Flutter’s PlatformChannel works, detailing the communication flow from Dart to Android and back, including the role of MethodChannel, BasicMessageChannel, and EventChannel, with code examples and a step‑by‑step analysis of the underlying engine implementation.
AndroidBasicMessageChannelEventChannel
0 likes · 12 min read

This comprehensive guide explains what Flutter plugins are, why they are essential, the MethodChannel communication model, step‑by‑step plugin creation, common pitfalls, testing strategies, publishing to public or private repositories, and a real‑world case study of a routing plugin, providing all the code and configuration details developers need to build and distribute their own Flutter plugins.
AndroidDartFlutter
0 likes · 20 min read

This article explains Flutter's Platform Channel mechanism, detailing the three channel types, their core members, codec implementations, and the complete Dart‑to‑native‑to‑Java call sequence with code examples, enabling developers to build cross‑platform plugins efficiently.
FlutterMethodChannelPlatform Channel
0 likes · 31 min read

This article provides a comprehensive step‑by‑step guide for integrating Flutter into iOS projects, covering required configuration files, script usage, AppDelegate modifications, MethodChannel communication, common pitfalls, debugging tools, performance monitoring, and routing strategies for both static and dynamic navigation.
FlutterHybrid DevelopmentMethodChannel
0 likes · 15 min read

The article explains how to develop Flutter plugins using platform channels—MethodChannel for invoking native APIs and EventChannel for streaming events—detailing Android and iOS implementation steps, registration, dependency setup, common pitfalls, and advanced considerations such as JSON‑serializable data and texture handling.
EventChannelFlutterMethodChannel
0 likes · 11 min read
