Demonstration of Flutter Hybird Composition Library

Flutter Hybrid Composition

A demonstration of using Hybrid Composition facilities on Android platforms.

Background

Starting from Flutter 1.20.0, hybrid composition can be used on Android. This new feature fixes most of the issues with the existing platform view approach. In particular, accessibility and keyboard related issues.

In previous versions of Flutter, the application runs with an issue that the keyboard cannot pop up properly with native EditText included in Flutter plugins. Now, with Hybrid Composition, this issue has been fixed. Here is the link of the issue:

https://github.com/flutter/flutter/issues/55046

Purpose

In this demonstration, we mainly illustrate how to pack an EditText into a Flutter plugin and represent it in a Flutter application.

Tests

This demonstration has been tested on:

  • OnePlus 3T, Android 7.1.1
  • OnePlus 5, Android 7.1.1
  • OnePlus 7, Android 10
  • Pixel 3, Android 10
  • Android Emulator, Android 10

Download Details:

Author: dailystudio

Source Code: https://github.com/dailystudio/flutter_hybrid_composition_demo

#flutter #dart #mobile-apps

Demonstration of Flutter Hybird Composition Library
15.90 GEEK