File tree 4 files changed +5
-3
lines changed
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:flutter_launcher_icons/utils.dart';
4
4
class InvalidConfigException implements Exception {
5
5
/// Constructs instance
6
6
const InvalidConfigException ([this .message]);
7
+
7
8
/// Message for the exception
8
9
final String ? message;
9
10
@@ -17,6 +18,7 @@ class InvalidConfigException implements Exception {
17
18
class InvalidAndroidIconNameException implements Exception {
18
19
/// Constructs instance of this exception
19
20
const InvalidAndroidIconNameException ([this .message]);
21
+
20
22
/// Message for the exception
21
23
final String ? message;
22
24
@@ -30,6 +32,7 @@ class InvalidAndroidIconNameException implements Exception {
30
32
class NoConfigFoundException implements Exception {
31
33
/// Constructs instance of this exception
32
34
const NoConfigFoundException ([this .message]);
35
+
33
36
/// Message for the exception
34
37
final String ? message;
35
38
@@ -43,6 +46,7 @@ class NoConfigFoundException implements Exception {
43
46
class NoDecoderForImageFormatException implements Exception {
44
47
/// Constructs instance of this exception
45
48
const NoDecoderForImageFormatException ([this .message]);
49
+
46
50
/// Message for the exception
47
51
final String ? message;
48
52
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class IosIconTemplate {
16
16
17
17
/// suffix of the icon name
18
18
final String name;
19
+
19
20
/// the size of the icon
20
21
final int size;
21
22
}
@@ -195,7 +196,6 @@ String generateContentsFileAsString(String newIconName) {
195
196
return json.encode (contentJson);
196
197
}
197
198
198
-
199
199
class ContentsImageObject {
200
200
ContentsImageObject ({
201
201
required this .size,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import 'package:flutter_launcher_icons/web/web_icon_generator.dart';
16
16
import 'package:flutter_launcher_icons/windows/windows_icon_generator.dart' ;
17
17
import 'package:path/path.dart' as path;
18
18
19
-
20
19
const String fileOption = 'file' ;
21
20
const String helpFlag = 'help' ;
22
21
const String verboseFlag = 'verbose' ;
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import '../templates.dart' as templates;
17
17
MockSpec <MacOSConfig >(),
18
18
MockSpec <FLILogger >(),
19
19
])
20
-
21
20
import 'macos_icon_generator_test.mocks.dart' ;
22
21
23
22
void main () {
You can’t perform that action at this time.
0 commit comments