• stuartmorgan's avatar
    Support create for macOS (app and plugin) (#40851) · 0412977e
    stuartmorgan authored
    Adds macOS support for `flutter create`:
    - Currently it is behind a hidden flag.
    - Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
    - Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.
    
    This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).
    
    Fixes #30703 
    0412977e
Name
Last commit
Last update
..
.idea Loading commit data...
android-java.tmpl Loading commit data...
android-kotlin.tmpl Loading commit data...
android.tmpl Loading commit data...
ios-objc.tmpl Loading commit data...
ios-swift.tmpl Loading commit data...
ios.tmpl Loading commit data...
lib Loading commit data...
macos.tmpl Loading commit data...
test Loading commit data...
web Loading commit data...
.gitignore.tmpl Loading commit data...
.metadata.tmpl Loading commit data...
README.md.tmpl Loading commit data...
projectName.iml.tmpl Loading commit data...
pubspec.yaml.tmpl Loading commit data...