Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 46abda7

Browse files
committed
Update to version 2.2.0 and add missing periods.
1 parent 44f0ab1 commit 46abda7

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

packages/file_selector/file_selector_platform_interface/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.1.1
1+
## 2.2.0
22

33
* Makes XTypeGroup constant and changes the initialization of it.
44
* Updates minimum Flutter version to 2.10.

packages/file_selector/file_selector_platform_interface/lib/src/types/x_type_group/x_type_group.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
import 'package:meta/meta.dart';
4+
import 'package:flutter/foundation.dart' show immutable;
55

6-
/// A set of allowed XTypes
6+
/// A set of allowed XTypes.
77
@immutable
88
class XTypeGroup {
99
/// Creates a new group with the given label and file extensions.
@@ -18,26 +18,26 @@ class XTypeGroup {
1818
this.webWildCards,
1919
}) : _extensions = extensions;
2020

21-
/// The 'name' or reference to this group of types
21+
/// The 'name' or reference to this group of types.
2222
final String? label;
2323

24-
/// The MIME types for this group
24+
/// The MIME types for this group.
2525
final List<String>? mimeTypes;
2626

27-
/// The UTIs for this group
27+
/// The UTIs for this group.
2828
final List<String>? macUTIs;
2929

30-
/// The web wild cards for this group (ex: image/*, video/*)
30+
/// The web wild cards for this group (ex: image/*, video/*).
3131
final List<String>? webWildCards;
3232

3333
final List<String>? _extensions;
3434

35-
/// The extensions for this group
35+
/// The extensions for this group.
3636
List<String>? get extensions {
3737
return _removeLeadingDots(_extensions);
3838
}
3939

40-
/// Converts this object into a JSON formatted object
40+
/// Converts this object into a JSON formatted object.
4141
Map<String, dynamic> toJSON() {
4242
return <String, dynamic>{
4343
'label': label,

packages/file_selector/file_selector_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.1.1
7+
version: 2.2.0
88

99
environment:
1010
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
 (0)