Tag

Cross-platform

0 views collected around this technical thread.

Xianyu Technology
Xianyu Technology
Jun 15, 2022 · Mobile Development

Implementing Magnifier Mode and Reverse Selection in Flutter TextField

The article details how to add a native‑style magnifier loupe and support reverse text selection to Flutter’s TextField by using CompositedTransformTarget/Follower overlays with BackdropFilter rendering, extending TextSelectionOverlay and gesture builders, tracking drag state, and swapping selection offsets when handles cross.

Cross-platformFlutterMagnifier
0 likes · 11 min read
Implementing Magnifier Mode and Reverse Selection in Flutter TextField
HelloTech
HelloTech
Apr 25, 2021 · Mobile Development

Flutter Native Interaction: Platform Channel vs FFI Comparison

The article compares Flutter’s native interaction methods, explaining how Platform Channels use message codecs and thread switching for method calls, while FFI lets Dart directly invoke C functions, offering superior performance but more boilerplate, and discusses trade‑offs, implementation details, and a benchmark showing the speed gap.

C++Cross-platformDart
0 likes · 8 min read
Flutter Native Interaction: Platform Channel vs FFI Comparison
Xianyu Technology
Xianyu Technology
Aug 28, 2018 · Mobile Development

Understanding Flutter Platform Channel Working Principles

The article explains Flutter’s platform channels—BasicMessageChannel, MethodChannel, and EventChannel—detailing their components (name, messenger, codec), how messages are encoded, decoded, and routed via BinaryMessenger, the various codecs and handlers, and considerations for thread safety, large data transfer, and practical usage.

Cross-platformFlutterMessage Passing
0 likes · 14 min read
Understanding Flutter Platform Channel Working Principles