how two flutter engine communication with each other - flutter

I want to develop one miracast application, can flutter do this?
Otherwise, I need to use two flutter engine, how can they communicate with each other?
If no, I need to use java or swift as a bridge;

It looks like you can achieve a way to communicate btw two flutter engines with IsolateNameServer.registerPortWithName and IsolateNameServer.lookupPortByName methods.

Related

How to implement v2ray client using flutter

Is there a way to implement v2ray using only flutter and not native code? I found some vpn packages and source codes but they do not use v2ray or they are using native languages too.
You can use libv2ray flutter package.

Is it possible to run flutter module on Web

I have existing flutter module being used in native Android/iOS apps.Flutter module is used as I wanted to embed it in existing native Android/iOS app. After searching on internet I came to know that module cannot be used as it is to support web platform.
I am thinking about below approach
Creating new flutter app and copy existing module code (Not a good solution as per me because I will have to maintain 2 repos one for module(to support native platforms) and one for web app support).
Queries:
Has anyone came across such issue and what are the possible ways to
handle this scenario?
Can I embed this flutter app(not flutter module) in native apps?Will this create any
problem?
Please suggest possible solutions?

Can you make complete apps using Flutter & Dart or just the UI part of an app?

I'm confused about what Flutter framework actually does, I know that it uses Dart and have heard that both of them can be used to create cross-platform apps.
But Wikipedia defines Flutter as a "UI Framework", so my question is, can you make a complete app (for mobile) which also has backend part (communicates with a database) built entirely using Flutter & Dart and not only the UI part?
Yes, we can obviously build complete apps using Flutter, from UI part to backend as well. Using Firebase as a backend service, we can use it for authentication, database, hosting and all.

Is it possible merge android code in flutter?

I want to make a Spin_Wheel game in flutter but some functions are not available
in the flutter, so can I use android for UI in the flutter.
Thank in Advance
Consider it a no.
While it is possible to communicate using platform_channels the texturized UI, to than display it in flutter ; this is too complicated.
Depending on your "functions", it is far better to recode them in dart. And you get IOS portability.

What is the best way to develop a mobile application that run on multiple devices mainly (android and iPhone)?

What is the best way to develop a mobile application that run on multiple devices mainly (android and iPhone)?
1) Use android frame work and iOS framework.
2) Or use a cross platform development library something like (AirPlay SDK for example).
3) Or there is other way else you prefer.
Please feel free to give me your suggestions.
Edit: I forgot to say, it'll be a game which require a lot of 2-D graphics.
Appcelerator Titanium is a solution. You write your app in Javascript/CSS and it compiles to Android and iOS via shims.
http://www.appcelerator.com/
PhoneGap is also a good choice if you want to deploy to multiple platforms.
Depending on the application, I'd take a strong look at HTML5 combined with something like jQuery Mobile. Unless your application requires more of the sophisticated resources on the device, this cross platform approach may be appropriate
If it's a game you should consider Shiva3D and Unity.
I always create two aplications, and i try to make them the most equal possible but using always all device functions needed.
write your common code in C++, both platforms support it. for platform dependent code you can create one interface with two different implementation