• This repository has been archived on 29/Nov/2020
  • Stars
    star
    249
  • Rank 162,987 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created about 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Running Flutter on Xamarin

ABANDONED: While this project is technically feasible, it's not feasible for a couple of developers in their spare time to finish. It was only meant as a proof of concept and has taken several months to reach its current status and it may even take several more to complete. As stated, this project was never expected to be commercially viable. Due to the effort remaining and no future for this project, it was decided it was not worth our time to complete.

Flutter for Xamarin

This project has no affiliation with Microsoft, Google or the Xamarin or Flutter teams.

This project is still under construction, and a full working version does not exist yet. We will let everyone know when we finally get things running end to end.

The project is designed to make the Flutter SDK available on the .NET Framework, initially with the supported platforms of:

  1. Xamarin.Android
  2. Xamarin.iOS
  3. UWP

There is no reason this couldn't also expand to any place where SkiaSharp is supported.

This project is never expected to be commercially viable, unless it is picked up or supported by a larger company. As it currently stands, this is just a fun side project, done by a bunch of developers in their spare time. We offer no support for solutions ever built with this framework, or any guarantee of completion.

Overview

To make this work, numerous components need to come together.

alt text

Transpiler

The transpiler, will convert the existing Flutter SDK (written in Dart) to C#, for consumption in .NET applications.

Using the DartAnalyzer, we analyze the Flutter SDK, and output C#.

Bindings

Flutter Bindings will include the connection between SkiaSharp and the Flutter SDK. We will not be using the actual Flutter engine, though we may do in the future.

Due to previous exploratory work, the Flutter engine is difficult to integrate with since we need to expose many C++ level APIs. Due to how this is implemented in the Flutter engine currently, it would require certain modifications and would be difficult to keep in sync with the master repository.

Hence, we will map the calls directly to SkiaSharp and Harfbuzz to draw directly on a SkiaCanvas. I could regret this, we shall see :)

Shell

The Shell, is where the Skia Canvas is initialized and platform level events are collected, and sent through to the Bindings project.

License

All code here is licensed under the MIT license

More Repositories

1

Instagram

Sample of Instagram UI in Xamarin Forms
C#
129
star
2

xarch-starter

A light weight starter template for Xamarin Forms
C#
83
star
3

BiDirectionalSync

Sample of bi-directional sync, with optional row differential sync
C#
39
star
4

BackgroundTasks

C#
35
star
5

Skixam

SkiaSharp as a platform, for Xamarin.Forms
C#
27
star
6

NavigationMenu

C#
16
star
7

ShareDialog

Example of a share dialog in Xamarin Forms
C#
16
star
8

xamarin-forms-pwa

Sample of Xamarin.Forms running as a PWA with Ooui.Forms and Ooui.Wasm
C#
13
star
9

CameraXF

C#
13
star
10

flutter-mvu

Dart
12
star
11

stategraph

Flutter State Graph Architecture
Dart
12
star
12

SoftInput

Example Project For On Screen Keyboard
C#
11
star
13

CarouselView

Example of CarouselView with Indicators
C#
11
star
14

WebViewJavascript

C#
11
star
15

XamarinChatBot

C#
10
star
16

XamarinMaps

Example using Xamarin.Forms Maps, with bindable properties.
C#
10
star
17

EFXamarin

Sample for Entity Framework Core in Xamarin Forms
C#
10
star
18

AdMob

AdMob in Xamarin.Forms
C#
10
star
19

isoflow

Dart
8
star
20

sample-xf-gestures

Xamarin Forms Custom Gesture Recognizers
C#
7
star
21

Migration

Xamarin Forms and MAUI migration to Flutter
C#
6
star
22

Functional

Demo app of a more functional ViewModel
C#
6
star
23

MultiSelectListView

C#
6
star
24

workflow

C#
6
star
25

flutter_onnx_genai

Example chat app with local LLM with ONNX runtime
Dart
5
star
26

XamarinMobileArchitecture

Sample architecture patterns for Xamarin Forms
C#
5
star
27

LottieAnimationSample

C#
5
star
28

UrhoSharp.Demo3D

3D moving object in UrhoSharp
C#
4
star
29

UrhoSharp.Demo

Starting Sample for UrhoSharp.Forms
C#
4
star
30

Pattern

Simplified easy to write Xamarin.Forms application pattern
C#
4
star
31

onnx_genai

Flutter wrapper for Microsoft ONNX Runtime GenAI
Dart
2
star
32

ReactiveExtensionsXF

Sample, showing basic Reactive XF
C#
2
star
33

MovieReview

C#
2
star
34

MyWebAPI

C#
2
star
35

edge_vector_index

A fast efficient in-memory vector database designed for edge devices.
Python
2
star
36

AzureFaceAPI

C#
1
star
37

SiriKitTest

A sample project showing SiriKit in Xamarin
C#
1
star
38

quantum

Multiple platform guide to quantum computing
Python
1
star