Skip to content

Commit b8ad042

Browse files
RatakondalaArunMarkOSullivan94
authored andcommitted
Merge pull request #397 from fluttercommunity/release/v0.10.0
Release/v0.10.0
2 parents 42fb273 + c8dc48b commit b8ad042

File tree

7 files changed

+42
-50
lines changed

7 files changed

+42
-50
lines changed

CHANGELOG.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.10.0 (2nd August 2022)
4+
5+
- Support for Web Icons [#374](https://github.com/fluttercommunity/flutter_launcher_icons/pull/374)
6+
- Support for Windows Icons [#382](https://github.com/fluttercommunity/flutter_launcher_icons/pull/382)
7+
- Added missing IOS icon sizes [#298](https://github.com/fluttercommunity/flutter_launcher_icons/pull/298)
8+
- Added `min_sdk_android` option [#392](https://github.com/fluttercommunity/flutter_launcher_icons/pull/392)
9+
- Added documentation for `remove_alpha_ios` [#392](https://github.com/fluttercommunity/flutter_launcher_icons/pull/392)
10+
- Fixed issue with loading config from `pubspec.yaml` [#398](https://github.com/fluttercommunity/flutter_launcher_icons/pull/398) (thanks to [@p-mazhnik](https://github.com/p-mazhnik))
11+
312
## 0.9.3 (6th June 2022)
413

514
- Fixes to make sure it works for Flutter v2.8 (thanks to @RatakondalaArun)
@@ -9,7 +18,6 @@
918

1019
- Fixed issue where success message printed even when exception occured (thanks to @happy-san)
1120

12-
1321
## 0.9.1 (25th July 2021)
1422

1523
- Upgrade args dependency to ^2.1.1 (thanks to @PiN73 and @comlaterra)
@@ -45,12 +53,10 @@
4553
- Lot of refactoring and improving code quality (thanks to @connectety)
4654
- Added correct App Store icon settings (thanks to @richgoldmd)
4755

48-
4956
## 0.7.2 (25th May 2019)
5057

5158
- Reverted back using old interpolation method
5259

53-
5460
## 0.7.1 (24th May 2019)
5561

5662
- Fixed issue with image dependency not working on latest version of Flutter (thanks to @sboutet06)
@@ -60,11 +66,11 @@
6066

6167
## 0.7.0 (22nd November 2018)
6268

63-
- Now ensuring that the Android file name is valid - An error will be thrown if it doesn't meet the criteria
64-
- Fixed issue where there was a git diff when there was no change
65-
- Fixed issue where iOS icon would be generated when it shouldn't be
66-
- Added support for drawables to be used for adaptive icon backgrounds
67-
- Added support for Flutter Launcher Icons to be able to run with it's own config file (no longer necessary to add to pubspec.yaml)
69+
- Now ensuring that the Android file name is valid - An error will be thrown if it doesn't meet the criteria
70+
- Fixed issue where there was a git diff when there was no change
71+
- Fixed issue where iOS icon would be generated when it shouldn't be
72+
- Added support for drawables to be used for adaptive icon backgrounds
73+
- Added support for Flutter Launcher Icons to be able to run with it's own config file (no longer necessary to add to pubspec.yaml)
6874

6975
## 0.6.1 (26th August 2018)
7076

@@ -87,27 +93,22 @@
8793

8894
- [Android] Support for adaptive icons added (Suggestion #23)
8995

90-
9196
## 0.4.0 (9th June 2018)
9297

9398
- Now possible to generate icons for each platform with different image paths (one for iOS icon and a separate one for Android)
9499

95-
96100
## 0.3.3 (28th May 2018)
97101

98102
- Upgraded dart image package dependency to 2.0.0 (issue #26)
99103

100-
101104
## 0.3.2 (2nd May 2018)
102105

103106
- Bug fixing
104107

105-
106108
## 0.3.1 (1st May 2018)
107109

108110
- Bug fixing
109111

110-
111112
## 0.3.0 (1st May 2018)
112113

113114
- Fixed issue where icons produced weren't the correct size (Due to images not with a 1:1 aspect r ation)
@@ -121,7 +122,6 @@
121122
- Fixed iOS default icon name (Thanks to PR #15 - Thank you!)
122123
- Fixed issue #10 where creation of the icons was failing due to the target folder not existing
123124

124-
125125
## 0.2.0 (18th January 2018)
126126

127127
- Ability to create new launcher icons without replacing the old ones added (#6)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ An example is shown below. More complex examples [can be found in the example pr
1515

1616
```yaml
1717
dev_dependencies:
18-
flutter_launcher_icons: "^0.9.3"
18+
flutter_launcher_icons: "^0.10.0"
1919

2020
flutter_icons:
2121
android: "launcher_icon"

example/default_example/pubspec.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,21 @@ flutter_icons:
2121
ios: true # can specify file name here e.g. "My-Launcher-Icon"
2222
adaptive_icon_background: "assets/images/christmas-background.png" # only available for Android 8.0 devices and above
2323
adaptive_icon_foreground: "assets/images/icon-foreground-432x432.png" # only available for Android 8.0 devices and above
24+
min_sdk_android: 21 # android min sdk min:16, default 21
25+
remove_alpha_ios: true
26+
web:
27+
generate: true
28+
image_path: "path/to/image.png"
29+
background_color: "#hexcode"
30+
theme_color: "#hexcode"
31+
windows:
32+
generate: true
33+
image_path: "path/to/image.png"
34+
icon_size: 48 # min:48, max:256, default: 48
2435

2536
dev_dependencies:
2637
flutter_test:
2738
sdk: flutter
2839

2940
flutter:
30-
3141
uses-material-design: true

lib/src/version.dart

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_launcher_icons
22
description: A package which simplifies the task of updating your Flutter app's launcher icon.
3-
version: 0.9.3
3+
version: 0.10.0
44
maintainer: Mark O'Sullivan (@MarkOSullivan94)
55
homepage: https://github.com/fluttercommunity/flutter_launcher_icons
66

@@ -14,11 +14,11 @@ dependencies:
1414
yaml: ^3.1.0
1515

1616
environment:
17-
sdk: '>=2.12.0-0 <3.0.0'
17+
sdk: '>=2.12.0 <3.0.0'
1818

1919
dev_dependencies:
2020
# Needed by build_version
21-
build_runner: 2.1.11
21+
build_runner: ^2.2.0
2222
# allows us to get version number from pubspec yaml which we can pass to Sentry
2323
# https://pub.dev/packages/build_version
2424
build_version: ^2.1.1

test/abs/icon_generator_test.mocks.dart

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// Mocks generated by Mockito 5.3.0 from annotations
1+
// Mocks generated by Mockito 5.2.0 from annotations
22
// in flutter_launcher_icons/test/abs/icon_generator_test.dart.
33
// Do not manually edit this file.
44

5-
// ignore_for_file: no_leading_underscores_for_library_prefixes
65
import 'package:flutter_launcher_icons/abs/icon_generator.dart' as _i2;
76
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
87
as _i3;
@@ -17,13 +16,9 @@ import 'package:mockito/mockito.dart' as _i1;
1716
// ignore_for_file: prefer_const_constructors
1817
// ignore_for_file: unnecessary_parenthesis
1918
// ignore_for_file: camel_case_types
20-
// ignore_for_file: subtype_of_sealed_class
2119

22-
class _FakeIconGeneratorContext_0 extends _i1.SmartFake
23-
implements _i2.IconGeneratorContext {
24-
_FakeIconGeneratorContext_0(Object parent, Invocation parentInvocation)
25-
: super(parent, parentInvocation);
26-
}
20+
class _FakeIconGeneratorContext_0 extends _i1.Fake
21+
implements _i2.IconGeneratorContext {}
2722

2823
/// A class which mocks [FlutterLauncherIconsConfig].
2924
///
@@ -78,10 +73,8 @@ class MockIconGenerator extends _i1.Mock implements _i2.IconGenerator {
7873

7974
@override
8075
_i2.IconGeneratorContext get context => (super.noSuchMethod(
81-
Invocation.getter(#context),
82-
returnValue:
83-
_FakeIconGeneratorContext_0(this, Invocation.getter(#context)))
84-
as _i2.IconGeneratorContext);
76+
Invocation.getter(#context),
77+
returnValue: _FakeIconGeneratorContext_0()) as _i2.IconGeneratorContext);
8578
@override
8679
String get platformName =>
8780
(super.noSuchMethod(Invocation.getter(#platformName), returnValue: '')

test/windows/windows_icon_generator_test.mocks.dart

+7-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// Mocks generated by Mockito 5.3.0 from annotations
1+
// Mocks generated by Mockito 5.2.0 from annotations
22
// in flutter_launcher_icons/test/windows/windows_icon_generator_test.dart.
33
// Do not manually edit this file.
44

5-
// ignore_for_file: no_leading_underscores_for_library_prefixes
65
import 'package:cli_util/cli_logging.dart' as _i2;
76
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
87
as _i3;
@@ -18,17 +17,10 @@ import 'package:mockito/mockito.dart' as _i1;
1817
// ignore_for_file: prefer_const_constructors
1918
// ignore_for_file: unnecessary_parenthesis
2019
// ignore_for_file: camel_case_types
21-
// ignore_for_file: subtype_of_sealed_class
2220

23-
class _FakeLogger_0 extends _i1.SmartFake implements _i2.Logger {
24-
_FakeLogger_0(Object parent, Invocation parentInvocation)
25-
: super(parent, parentInvocation);
26-
}
21+
class _FakeLogger_0 extends _i1.Fake implements _i2.Logger {}
2722

28-
class _FakeProgress_1 extends _i1.SmartFake implements _i2.Progress {
29-
_FakeProgress_1(Object parent, Invocation parentInvocation)
30-
: super(parent, parentInvocation);
31-
}
23+
class _FakeProgress_1 extends _i1.Fake implements _i2.Progress {}
3224

3325
/// A class which mocks [FlutterLauncherIconsConfig].
3426
///
@@ -105,8 +97,7 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
10597
as bool);
10698
@override
10799
_i2.Logger get rawLogger => (super.noSuchMethod(Invocation.getter(#rawLogger),
108-
returnValue: _FakeLogger_0(this, Invocation.getter(#rawLogger)))
109-
as _i2.Logger);
100+
returnValue: _FakeLogger_0()) as _i2.Logger);
110101
@override
111102
void error(Object? message) =>
112103
super.noSuchMethod(Invocation.method(#error, [message]),
@@ -120,9 +111,7 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
120111
super.noSuchMethod(Invocation.method(#info, [message]),
121112
returnValueForMissingStub: null);
122113
@override
123-
_i2.Progress progress(String? message) => (super.noSuchMethod(
124-
Invocation.method(#progress, [message]),
125-
returnValue:
126-
_FakeProgress_1(this, Invocation.method(#progress, [message])))
127-
as _i2.Progress);
114+
_i2.Progress progress(String? message) =>
115+
(super.noSuchMethod(Invocation.method(#progress, [message]),
116+
returnValue: _FakeProgress_1()) as _i2.Progress);
128117
}

0 commit comments

Comments
 (0)