xamarin.flutter
xamarin.flutter copied to clipboard
Running Flutter on Xamarin
So obviously this isn't the highest priority for version 1 given that the transpiler isn't complete, but I thought I'd bring it up in case planning for this feature might...
I've been developing C#/Winforms for over 10 years now and recently i decided to switch to a more viable alternative so that i could code for mobile/desktop. Xamarin was a...
In FlutterBinding/UI/Compositing.cs Wire up all the native calls to the relevant Engine code. https://github.com/flutter/engine/tree/master/lib/ui/compositing
The Binding library will likely need events to and from the Shell. This is seen as shown in the current Shell of Flutter. Examples: https://github.com/flutter/engine/tree/master/shell/platform/android/io/flutter/app https://github.com/flutter/engine/tree/master/shell/platform/android/io/flutter/view
Using the Model, create inheritance for all Flutter SDK classes created, using the extends or implements methods.
In the Android Shell project, create an Activity that can be inherited, that will create a full screen Skia Canvas. Pass the Canvas reference to the bindings project.
Work with anyone on Shell part on getting the canvas from there.
Using SkiaSharp, create a full screen Canvas in a page that can be inherited. Pass the Canvas reference to the Bindings project.