flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Can multiple android and ios applications be made in a single Flutter project?

Open volkanustekidag opened this issue 1 year ago • 1 comments

In a flutter project, I have a file structure as follows;


my_flutter_project/
  -android_x/
  -android_y/
  -ios_x/
  -ios_y/
  -lib/
    - main_x.dart
    - main_y.dart
  - pubspec.yaml


When I run main_x it should run ios_x or android_x, when I run main_y it should run ios_y or android_y. How can I set this?

volkanustekidag avatar Mar 27 '24 12:03 volkanustekidag

You can build multiple flavors of an Android app with a single code base for iOS I don't know that.

rekire avatar May 30 '24 06:05 rekire