-
Notifications
You must be signed in to change notification settings - Fork 47
eLinux platform‐views
Hidenori Matsubayashi edited this page Aug 23, 2023
·
4 revisions
This page explains platform views for eLinux.
Platform views allow you to embed native views in a Flutter app, so you can apply transforms, clips, and opacity to the native view from Dart. See Hosting native Android views in your Flutter app with Platform Views for more overview and the details.
Platform views for eLinux (Dart code side) is designed to be compatible with Android's.
Please replace the flutter_elinux's path in pubspec.yaml with the path to your flutter project.
dependencies:
flutter:
sdk: flutter
flutter_elinux:
# You need to correctly replace the path below with the path of your flutter-elinux directory.
path: /home/hidenori/work/flutter/flutter-elinux/packages/flutter_elinux
See packages/flutter_elinux/examples/platform_views/native_texture_view