Skip to content

Commit

Permalink
style: formatted code with dart format .
Browse files Browse the repository at this point in the history
  • Loading branch information
OutdatedGuy authored and MarkOSullivan94 committed Apr 7, 2023
1 parent 2d0343d commit d3bc20f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lib/custom_exceptions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:flutter_launcher_icons/utils.dart';
class InvalidConfigException implements Exception {
/// Constructs instance
const InvalidConfigException([this.message]);

/// Message for the exception
final String? message;

Expand All @@ -17,6 +18,7 @@ class InvalidConfigException implements Exception {
class InvalidAndroidIconNameException implements Exception {
/// Constructs instance of this exception
const InvalidAndroidIconNameException([this.message]);

/// Message for the exception
final String? message;

Expand All @@ -30,6 +32,7 @@ class InvalidAndroidIconNameException implements Exception {
class NoConfigFoundException implements Exception {
/// Constructs instance of this exception
const NoConfigFoundException([this.message]);

/// Message for the exception
final String? message;

Expand All @@ -43,6 +46,7 @@ class NoConfigFoundException implements Exception {
class NoDecoderForImageFormatException implements Exception {
/// Constructs instance of this exception
const NoDecoderForImageFormatException([this.message]);

/// Message for the exception
final String? message;

Expand Down
2 changes: 1 addition & 1 deletion lib/ios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class IosIconTemplate {

/// suffix of the icon name
final String name;

/// the size of the icon
final int size;
}
Expand Down Expand Up @@ -195,7 +196,6 @@ String generateContentsFileAsString(String newIconName) {
return json.encode(contentJson);
}


class ContentsImageObject {
ContentsImageObject({
required this.size,
Expand Down
1 change: 0 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import 'package:flutter_launcher_icons/web/web_icon_generator.dart';
import 'package:flutter_launcher_icons/windows/windows_icon_generator.dart';
import 'package:path/path.dart' as path;


const String fileOption = 'file';
const String helpFlag = 'help';
const String verboseFlag = 'verbose';
Expand Down
1 change: 0 additions & 1 deletion test/macos/macos_icon_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import '../templates.dart' as templates;
MockSpec<MacOSConfig>(),
MockSpec<FLILogger>(),
])

import 'macos_icon_generator_test.mocks.dart';

void main() {
Expand Down

0 comments on commit d3bc20f

Please sign in to comment.