Skip to content

Commit d3bc20f

Browse files
OutdatedGuyMarkOSullivan94
authored andcommitted
style: formatted code with dart format .
1 parent 2d0343d commit d3bc20f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

lib/custom_exceptions.dart

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import 'package:flutter_launcher_icons/utils.dart';
44
class InvalidConfigException implements Exception {
55
/// Constructs instance
66
const InvalidConfigException([this.message]);
7+
78
/// Message for the exception
89
final String? message;
910

@@ -17,6 +18,7 @@ class InvalidConfigException implements Exception {
1718
class InvalidAndroidIconNameException implements Exception {
1819
/// Constructs instance of this exception
1920
const InvalidAndroidIconNameException([this.message]);
21+
2022
/// Message for the exception
2123
final String? message;
2224

@@ -30,6 +32,7 @@ class InvalidAndroidIconNameException implements Exception {
3032
class NoConfigFoundException implements Exception {
3133
/// Constructs instance of this exception
3234
const NoConfigFoundException([this.message]);
35+
3336
/// Message for the exception
3437
final String? message;
3538

@@ -43,6 +46,7 @@ class NoConfigFoundException implements Exception {
4346
class NoDecoderForImageFormatException implements Exception {
4447
/// Constructs instance of this exception
4548
const NoDecoderForImageFormatException([this.message]);
49+
4650
/// Message for the exception
4751
final String? message;
4852

lib/ios.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class IosIconTemplate {
1616

1717
/// suffix of the icon name
1818
final String name;
19+
1920
/// the size of the icon
2021
final int size;
2122
}
@@ -195,7 +196,6 @@ String generateContentsFileAsString(String newIconName) {
195196
return json.encode(contentJson);
196197
}
197198

198-
199199
class ContentsImageObject {
200200
ContentsImageObject({
201201
required this.size,

lib/main.dart

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import 'package:flutter_launcher_icons/web/web_icon_generator.dart';
1616
import 'package:flutter_launcher_icons/windows/windows_icon_generator.dart';
1717
import 'package:path/path.dart' as path;
1818

19-
2019
const String fileOption = 'file';
2120
const String helpFlag = 'help';
2221
const String verboseFlag = 'verbose';

test/macos/macos_icon_generator_test.dart

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import '../templates.dart' as templates;
1717
MockSpec<MacOSConfig>(),
1818
MockSpec<FLILogger>(),
1919
])
20-
2120
import 'macos_icon_generator_test.mocks.dart';
2221

2322
void main() {

0 commit comments

Comments
 (0)