Skip to content

Commit b21df42

Browse files
committed
Merge branch 'master' into subtitle_render_issue
2 parents 022844c + 2885a5b commit b21df42

22 files changed

Lines changed: 757 additions & 407 deletions

File tree

packages/flutter_secure_storage/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.1.3
2+
3+
* Update flutter_secure_storage_platform_interface to 2.0.0.
4+
* Update flutter_secure_storage to 10.0.0.
5+
* Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
6+
17
## NEXT
28

39
* Update code format.

packages/flutter_secure_storage/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This package is not an _endorsed_ implementation of `flutter_secure_storage`. Th
1010

1111
```yaml
1212
dependencies:
13-
flutter_secure_storage: ^9.0.0
14-
flutter_secure_storage_tizen: ^0.1.2
13+
flutter_secure_storage: ^10.0.0
14+
flutter_secure_storage_tizen: ^0.1.3
1515
```
1616
1717
Then you can import `flutter_secure_storage` in your Dart code:
Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
1-
# This file configures the analyzer, which statically analyzes Dart code to
2-
# check for errors, warnings, and lints.
3-
#
4-
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5-
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6-
# invoked from the command line by running `flutter analyze`.
7-
8-
# The following line activates a set of recommended lints for Flutter apps,
9-
# packages, and plugins designed to encourage good coding practices.
10-
include: package:lint/package.yaml
1+
include: package:very_good_analysis/analysis_options.yaml
112

123
linter:
13-
# The lint rules applied to this project can be customized in the
14-
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15-
# included above or to enable additional rules. A list of all available lints
16-
# and their documentation is published at
17-
# https://dart-lang.github.io/linter/lints/index.html.
18-
#
19-
# Instead of disabling a lint rule for the entire project in the
20-
# section below, it can also be suppressed for a single line of code
21-
# or a specific dart file by using the `// ignore: name_of_lint` and
22-
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
23-
# producing the lint.
244
rules:
25-
constant_identifier_names: false # Disabled because it is used
26-
# avoid_print: false # Uncomment to disable the `avoid_print` rule
27-
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
28-
# Additional information about this file can be found at
29-
# https://dart.dev/guides/language/analysis-options
5+
remove_deprecations_in_breaking_versions: false # TODO(juliansteenbakker) remove this by v11 release
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:very_good_analysis/analysis_options.yaml

packages/flutter_secure_storage/example/integration_test/flutter_secure_storage_test.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ void main() {
2929
});
3030

3131
testWidgets('read non-existing key', (WidgetTester tester) async {
32-
final String? result = await storage.read(key: 'foobar');
32+
final result = await storage.read(key: 'foobar');
3333
expect(result, isNull);
3434
});
3535

3636
testWidgets('readAll', (WidgetTester tester) async {
37-
final Map<String, String> input = {
37+
final input = <String, String>{
3838
'foo': 'bar',
3939
'baz': 'qux',
4040
'waldo': 'fred',
4141
};
4242

43-
for (final MapEntry<String, String> enrty in input.entries) {
43+
for (final enrty in input.entries) {
4444
await storage.write(key: enrty.key, value: enrty.value);
4545
}
4646

47-
final Map<String, String> result = await storage.readAll();
47+
final result = await storage.readAll();
4848
expect(mapEquals(input, result), isTrue);
4949
});
5050

@@ -67,13 +67,13 @@ void main() {
6767
});
6868

6969
testWidgets('deleteAll', (WidgetTester tester) async {
70-
final Map<String, String> input = {
70+
final input = <String, String>{
7171
'foo': 'bar',
7272
'baz': 'qux',
7373
'waldo': 'fred',
7474
};
7575

76-
for (final MapEntry<String, String> enrty in input.entries) {
76+
for (final enrty in input.entries) {
7777
await storage.write(key: enrty.key, value: enrty.value);
7878
}
7979
expect(await storage.readAll(), isNotEmpty);

0 commit comments

Comments
 (0)