Skip to content

Commit 3ff714f

Browse files
committed
Fix flutter lint warnings
1 parent abc02ce commit 3ff714f

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

lib/src/icon_data.dart

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ class IconDataThin extends IconData {
8383
///
8484
/// Code points can be obtained from fontawesome.com
8585
class IconDataSharpThin extends IconData {
86-
const IconDataSharpThin(int codePoint)
86+
const IconDataSharpThin(super.codePoint)
8787
: super(
88-
codePoint,
8988
fontFamily: 'FontAwesomeSharpThin',
9089
fontPackage: 'font_awesome_flutter',
9190
);
@@ -96,9 +95,8 @@ class IconDataSharpThin extends IconData {
9695
///
9796
/// Code points can be obtained from fontawesome.com
9897
class IconDataSharpLight extends IconData {
99-
const IconDataSharpLight(int codePoint)
98+
const IconDataSharpLight(super.codePoint)
10099
: super(
101-
codePoint,
102100
fontFamily: 'FontAwesomeSharpLight',
103101
fontPackage: 'font_awesome_flutter',
104102
);
@@ -109,9 +107,8 @@ class IconDataSharpLight extends IconData {
109107
///
110108
/// Code points can be obtained from fontawesome.com
111109
class IconDataSharpRegular extends IconData {
112-
const IconDataSharpRegular(int codePoint)
110+
const IconDataSharpRegular(super.codePoint)
113111
: super(
114-
codePoint,
115112
fontFamily: 'FontAwesomeSharpRegular',
116113
fontPackage: 'font_awesome_flutter',
117114
);
@@ -122,10 +119,9 @@ class IconDataSharpRegular extends IconData {
122119
///
123120
/// Code points can be obtained from fontawesome.com
124121
class IconDataSharpSolid extends IconData {
125-
const IconDataSharpSolid(int codePoint)
122+
const IconDataSharpSolid(super.codePoint)
126123
: super(
127-
codePoint,
128124
fontFamily: 'FontAwesomeSharpSolid',
129125
fontPackage: 'font_awesome_flutter',
130126
);
131-
}
127+
}

0 commit comments

Comments
 (0)