I am currently working on an android project which is ~75% complete. I need a similar application for iOS.
Can I import this project to flutter? How?
Also, w
I would say no, there isn't. And the reason is well explained by @creativecreatorormaybenot. I would add that is is not just the language difference that makes it challenging but the whole android native views, view hierarchy is different from Flutter's view hierarchy. If you are familiar with Cocos framework, which has its own View hierarchy drawn, flutter is similar to that only better, rich and attested by Google(I guess, ;) ). The launch point is still regular android activity in flutter, but that's about it. Then the control flows to the flutter for measuring and drawing the UI Widgets. You might very well still need to implement some features that require system services, hardware access to be written in Native Java/Kotlin android style/ IOS native style.
Recommendation: At this point, I would not recommend you to use a hackish way to convert dart to java/kotlin and Android UI to Flutter UI even if you see something online that does it. The reason being, Flutter itself is an experiment by Google and is not yet mature as Android. You should expect some nuances to be changed added frequently. Since you are already 75 percent done, I would say go all native(Android and IOS) or all Flutter.
To precisely answer your question: Can I import this project to flutter? Not at the moment.
Also, will flutter supports the libraries I have used in this project? Kind of. Since you have not mentioned any of the libraries that you have used, I am going to take a few examples to make it clearer: - Image downloading library(glide, picasso) may be replaced by flutter's native Image widget - If you are using any core java libraries that you want to port to Flutter, you can follow the flutter's documentation about developing packages and plugins which essentially says to declare contract/apis in dart and imlementation java packages in 'android' folder. Contract remains same for IOS and android. - If you want to use system level components, like I mentioned earlier, packages and plugins are the way to go. Here is the list of first hand plugins developed by Dart team.