Flutter: Create a flutter project with Swift
Flutter allows to support of Swift programming language.
How can I integrate my Swift code file with Flutter project in Android Studio.
There is no option to add/create a Swift file (in New menu) in Android Studio.
Flutter uses Dart language.
Android - Java/Kotlin , iOS - Objc/Swift could be used to write plugins and platform dependent code. More details https://flutter.io/developing-packages/
When Flutter creates new project, it generates 2 native projects (iOS and Android), that would be able to run compiled Flutter project. Languages are selected via menu you posted. Check ios and android folders in created project.
the best option will be to open your ios folder in xcode and add and edit your code there
How can I integrate my Swift code file with Flutter project in Android Studio.
There is no option to add/create a Swift file (in New menu) in Android Studio.
Flutter uses Dart language.
Android - Java/Kotlin , iOS - Objc/Swift could be used to write plugins and platform dependent code. More details https://flutter.io/developing-packages/
When Flutter creates new project, it generates 2 native projects (iOS and Android), that would be able to run compiled Flutter project. Languages are selected via menu you posted. Check ios and android folders in created project.
the best option will be to open your ios folder in xcode and add and edit your code there
Comments
Post a Comment