flutter/examples/platform_channel
Polina Cherkasova bda158adf0
Reorganize dependencies on leak_tracker. (#140233)
1. Move leak_tracker and leak_tracker_testing out of direct dependencies.
2. Move leak_tracker_flutter_testing from dev to prod dependencies for flutter_test

It is prerequisite for https://github.com/flutter/flutter/issues/135856
2023-12-15 19:33:23 +00:00
..
android [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
ios iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
lib Enable Windows platform_channel test (#106973) 2022-07-06 14:21:07 +00:00
linux Deletes files that should be ignored (#127984) 2023-06-29 19:45:22 +00:00
macos Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
test_driver Enable Windows platform_channel test (#106973) 2022-07-06 14:21:07 +00:00
windows [Windows] Add target architecture to build path (#131843) 2023-08-31 09:09:02 -07:00
pubspec.yaml Reorganize dependencies on leak_tracker. (#140233) 2023-12-15 19:33:23 +00:00
README.md Add Windows to the platform_channels example (#106754) 2022-06-30 14:54:07 +00:00

Example of calling platform services from Flutter

This project demonstrates how to connect a Flutter app to platform-specific services.

You can read more about accessing platform and third-party services in Flutter.

iOS

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or you can open ios/Runner.xcworkspace in Xcode and build/run the project as usual.

Android

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or to build with Android Studio, open the android folder in Android Studio and build the project as usual.

Windows

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or you can build once then open build\windows\platform_channel.sln in Visual Studio to build and run.