From 9351204827dec5218e04642dfd27b664e8eaecaa Mon Sep 17 00:00:00 2001 From: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com> Date: Sat, 27 Mar 2021 11:38:15 +0000 Subject: [PATCH] capitalise Platform class --- packages/android_intent/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/android_intent/README.md b/packages/android_intent/README.md index 7d097e465926..a2f95abe2bae 100644 --- a/packages/android_intent/README.md +++ b/packages/android_intent/README.md @@ -9,7 +9,7 @@ Use it by specifying action, category, data and extra arguments for the intent. It does not support returning the result of the launched activity. Sample usage: ```dart -if (platform.isAndroid) { +if (Platform.isAndroid) { AndroidIntent intent = AndroidIntent( action: 'action_view', data: 'https://play.google.com/store/apps/details?' @@ -33,7 +33,7 @@ for it in the plugin and use an action constant to refer to it. For instance: `'action_application_details_settings'` translates to `android.settings.ACTION_APPLICATION_DETAILS_SETTINGS` ```dart -if (platform.isAndroid) { +if (Platform.isAndroid) { final AndroidIntent intent = AndroidIntent( action: 'action_application_details_settings', data: 'package:com.example.app', // replace com.example.app with your applicationId