Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.11.0 #421

Merged
merged 7 commits into from Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog

## 0.11.0 (27th September 2022)

- Support for Macos Icons [#407](https://github.com/fluttercommunity/flutter_launcher_icons/pull/407)
- Cli-improvement [#400](https://github.com/fluttercommunity/flutter_launcher_icons/pull/400)
- Add `repository` and `issue_tracker` [#411](https://github.com/fluttercommunity/flutter_launcher_icons/pull/411) (thanks to [@patelpathik](https://github.com/patelpathik))
- Fix indent in web/manifest.json [#407](https://github.com/fluttercommunity/flutter_launcher_icons/pull/407)
- Fix the icons 50 and 57 in `contents.json` [#412](https://github.com/fluttercommunity/flutter_launcher_icons/pull/412) (thanks to [@adnanjpg](https://github.com/adnanjpg))
- Fix typos [#405](https://github.com/fluttercommunity/flutter_launcher_icons/pull/405) (thanks to [@edwardmp](https://github.com/edwardmp))
- Added newline to EOF [#325](https://github.com/fluttercommunity/flutter_launcher_icons/pull/325) (thanks to [@sandersaelmans](https://github.com/sandersaelmans))

## 0.10.0 (2nd August 2022)

- Support for Web Icons [#374](https://github.com/fluttercommunity/flutter_launcher_icons/pull/374)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ An example is shown below. More complex examples [can be found in the example pr

```yaml
dev_dependencies:
flutter_launcher_icons: "^0.10.0"
flutter_launcher_icons: "^0.11.0"

flutter_icons:
android: "launcher_icon"
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: flutter_launcher_icons
description: A package which simplifies the task of updating your Flutter app's launcher icon.
version: 0.10.0
version: 0.11.0
maintainer: Mark O'Sullivan (@MarkOSullivan94)
homepage: https://github.com/fluttercommunity/flutter_launcher_icons
repository: https://github.com/fluttercommunity/flutter_launcher_icons/
Expand Down
104 changes: 66 additions & 38 deletions test/abs/icon_generator_test.mocks.dart
@@ -1,4 +1,4 @@
// Mocks generated by Mockito 5.3.0 from annotations
// Mocks generated by Mockito 5.3.2 from annotations
// in flutter_launcher_icons/test/abs/icon_generator_test.dart.
// Do not manually edit this file.

Expand All @@ -21,8 +21,13 @@ import 'package:mockito/mockito.dart' as _i1;

class _FakeIconGeneratorContext_0 extends _i1.SmartFake
implements _i2.IconGeneratorContext {
_FakeIconGeneratorContext_0(Object parent, Invocation parentInvocation)
: super(parent, parentInvocation);
_FakeIconGeneratorContext_0(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}

/// A class which mocks [FlutterLauncherIconsConfig].
Expand All @@ -35,37 +40,48 @@ class MockFlutterLauncherIconsConfig extends _i1.Mock
}

@override
int get minSdkAndroid =>
(super.noSuchMethod(Invocation.getter(#minSdkAndroid), returnValue: 0)
as int);
int get minSdkAndroid => (super.noSuchMethod(
Invocation.getter(#minSdkAndroid),
returnValue: 0,
) as int);
@override
bool get removeAlphaIOS => (super
.noSuchMethod(Invocation.getter(#removeAlphaIOS), returnValue: false)
as bool);
bool get removeAlphaIOS => (super.noSuchMethod(
Invocation.getter(#removeAlphaIOS),
returnValue: false,
) as bool);
@override
bool get hasAndroidAdaptiveConfig =>
(super.noSuchMethod(Invocation.getter(#hasAndroidAdaptiveConfig),
returnValue: false) as bool);
bool get hasAndroidAdaptiveConfig => (super.noSuchMethod(
Invocation.getter(#hasAndroidAdaptiveConfig),
returnValue: false,
) as bool);
@override
bool get hasPlatformConfig =>
(super.noSuchMethod(Invocation.getter(#hasPlatformConfig),
returnValue: false) as bool);
bool get hasPlatformConfig => (super.noSuchMethod(
Invocation.getter(#hasPlatformConfig),
returnValue: false,
) as bool);
@override
bool get isCustomAndroidFile =>
(super.noSuchMethod(Invocation.getter(#isCustomAndroidFile),
returnValue: false) as bool);
bool get isCustomAndroidFile => (super.noSuchMethod(
Invocation.getter(#isCustomAndroidFile),
returnValue: false,
) as bool);
@override
bool get isNeedingNewAndroidIcon =>
(super.noSuchMethod(Invocation.getter(#isNeedingNewAndroidIcon),
returnValue: false) as bool);
bool get isNeedingNewAndroidIcon => (super.noSuchMethod(
Invocation.getter(#isNeedingNewAndroidIcon),
returnValue: false,
) as bool);
@override
bool get isNeedingNewIOSIcon =>
(super.noSuchMethod(Invocation.getter(#isNeedingNewIOSIcon),
returnValue: false) as bool);
bool get isNeedingNewIOSIcon => (super.noSuchMethod(
Invocation.getter(#isNeedingNewIOSIcon),
returnValue: false,
) as bool);
@override
Map<String, dynamic> toJson() =>
(super.noSuchMethod(Invocation.method(#toJson, []),
returnValue: <String, dynamic>{}) as Map<String, dynamic>);
Map<String, dynamic> toJson() => (super.noSuchMethod(
Invocation.method(
#toJson,
[],
),
returnValue: <String, dynamic>{},
) as Map<String, dynamic>);
}

/// A class which mocks [IconGenerator].
Expand All @@ -78,19 +94,31 @@ class MockIconGenerator extends _i1.Mock implements _i2.IconGenerator {

@override
_i2.IconGeneratorContext get context => (super.noSuchMethod(
Invocation.getter(#context),
returnValue: _FakeIconGeneratorContext_0(
this,
Invocation.getter(#context),
returnValue:
_FakeIconGeneratorContext_0(this, Invocation.getter(#context)))
as _i2.IconGeneratorContext);
),
) as _i2.IconGeneratorContext);
@override
String get platformName =>
(super.noSuchMethod(Invocation.getter(#platformName), returnValue: '')
as String);
String get platformName => (super.noSuchMethod(
Invocation.getter(#platformName),
returnValue: '',
) as String);
@override
void createIcons() => super.noSuchMethod(Invocation.method(#createIcons, []),
returnValueForMissingStub: null);
void createIcons() => super.noSuchMethod(
Invocation.method(
#createIcons,
[],
),
returnValueForMissingStub: null,
);
@override
bool validateRequirements() =>
(super.noSuchMethod(Invocation.method(#validateRequirements, []),
returnValue: false) as bool);
bool validateRequirements() => (super.noSuchMethod(
Invocation.method(
#validateRequirements,
[],
),
returnValue: false,
) as bool);
}