Comments (1)
Yes, this is definately on the horizon to review and make a more informed decision on. Issues and questions that need to be resolved (not comprehensive):
- Can we emulate Dart's FFI functionality in C# efficiently or will we need to hand-rewrite all the bindings/dart-wrapping code to use P/Invoke directly?
- (Research TODO for me): what all functionality is in the engine to begin with? For example, is it functionality that is already implemented in Xamarin (e.g. platform integration, platform channels, etc...)? FFI wrappers for Skia?
- How to best translate Dart isolates to .Net/Xamarin. How do isolates interact with the Flutter engine?
I'd like to also review the UIWidgets implementation to see what their choices were (I suspect they rewrote the engine in C# and delegated to Unity):
https://github.com/UnityTech/UIWidgets
from xamarin.flutter.
Related Issues (20)
- One namespace per flutter directory rather than one per file
- Some delegates in the output are missing generics
- Transpile value types (int, double, bool, etc...) as nullable in C#
- Use a placeholder value type in place of 'void' for generics
- Garbled list literals
- Prefix core Dart types with 'Dart' when they conflict with built-in .NET types
- Some properties still have NotImplementedExceptions
- sync function signatures get garbled in the output HOT 1
- yield expressions missing "return" keyword HOT 1
- Return statements in sync methods need to be "yield break;" instead of "return;"
- Async function support HOT 1
- abstract classes and methods transpile to non-abstract classes and empty methods, respectively
- Static property references (and static methods) from Dart namespace are garbled, ':' character, bad function name HOT 1
- Comments in method/function bodies are not transpiled HOT 3
- Named constructors are incorrectly transpiled
- Add a config option to disable regions in transpiled output HOT 1
- Add exclusions for all dart annotations
- Implement spread operator in list literals.
- TASK: Take a second pass on the output for issues.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xamarin.flutter.