From d6e832127a4e10414335b83a96d418905c50c22e Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Thu, 1 Feb 2024 11:00:09 -0500 Subject: [PATCH] [file_selector] Fix comment typo Replaces "pltaform" with "platform" in each instance. --- packages/file_selector/file_selector/CHANGELOG.md | 3 ++- packages/file_selector/file_selector/lib/file_selector.dart | 6 +++--- packages/file_selector/file_selector/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/file_selector/file_selector/CHANGELOG.md b/packages/file_selector/file_selector/CHANGELOG.md index 0bf3c8e11463..9b249e044af4 100644 --- a/packages/file_selector/file_selector/CHANGELOG.md +++ b/packages/file_selector/file_selector/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 1.0.3 +* Fixes a typo in documentation comments. * Updates support matrix in README to indicate that iOS 11 is no longer supported. * Clients on versions of Flutter that still support iOS 11 can continue to use this package with iOS 11, but will not receive any further updates to the iOS implementation. diff --git a/packages/file_selector/file_selector/lib/file_selector.dart b/packages/file_selector/file_selector/lib/file_selector.dart index 28a83a56147d..f489e0bacba2 100644 --- a/packages/file_selector/file_selector/lib/file_selector.dart +++ b/packages/file_selector/file_selector/lib/file_selector.dart @@ -12,7 +12,7 @@ export 'package:file_selector_platform_interface/file_selector_platform_interfac /// Opens a file selection dialog and returns the path chosen by the user. /// /// [acceptedTypeGroups] is a list of file type groups that can be selected in -/// the dialog. How this is displayed depends on the pltaform, for example: +/// the dialog. How this is displayed depends on the platform, for example: /// - On Windows and Linux, each group will be an entry in a list of filter /// options. /// - On macOS, the union of all types allowed by all of the groups will be @@ -44,7 +44,7 @@ Future openFile({ /// user. /// /// [acceptedTypeGroups] is a list of file type groups that can be selected in -/// the dialog. How this is displayed depends on the pltaform, for example: +/// the dialog. How this is displayed depends on the platform, for example: /// - On Windows and Linux, each group will be an entry in a list of filter /// options. /// - On macOS, the union of all types allowed by all of the groups will be @@ -74,7 +74,7 @@ Future> openFiles({ /// Opens a save dialog and returns the target path chosen by the user. /// /// [acceptedTypeGroups] is a list of file type groups that can be selected in -/// the dialog. How this is displayed depends on the pltaform, for example: +/// the dialog. How this is displayed depends on the platform, for example: /// - On Windows and Linux, each group will be an entry in a list of filter /// options. /// - On macOS, the union of all types allowed by all of the groups will be diff --git a/packages/file_selector/file_selector/pubspec.yaml b/packages/file_selector/file_selector/pubspec.yaml index f5926e69d29d..ed6a859d188f 100644 --- a/packages/file_selector/file_selector/pubspec.yaml +++ b/packages/file_selector/file_selector/pubspec.yaml @@ -3,7 +3,7 @@ description: Flutter plugin for opening and saving files, or selecting directories, using native file selection UI. repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22 -version: 1.0.2 +version: 1.0.3 environment: sdk: ">=3.0.0 <4.0.0"