Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WieFel committed Dec 25, 2024
1 parent 2ddffd6 commit 400e980
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
3 changes: 2 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class MyApp extends StatelessWidget {
theme: GallerizeThemeData.darkThemeData,
home: const GallerizePage(
name: "My Fancy Widget",
description: "This is a gallery app demoing the fancy widget that I created. "
description:
"This is a gallery app demoing the fancy widget that I created. "
"With the help of the fancy widget, you can create the "
"fanciest app you have ever seen!",
codeFile: "lib/my_fancy_widget.dart",
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/gallerize_code.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class GallerizeCode extends StatefulWidget {

/// Creates an instance of [GallerizeCode].
const GallerizeCode({
Key? key,
super.key,
required this.codeFile,
this.highlightingTheme = draculaTheme,
}) : super(key: key);
});

@override
GallerizeCodeState createState() => GallerizeCodeState();
Expand Down
3 changes: 1 addition & 2 deletions lib/widgets/gallerize_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ class GallerizeInfo extends StatelessWidget {

/// Creates an instance of [GallerizeInfo].
const GallerizeInfo(
{Key? key, required this.title, required this.description})
: super(key: key);
{super.key, required this.title, required this.description});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/gallerize_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class GallerizePage extends StatefulWidget {

/// Creates an instance of [GallerizePage].
const GallerizePage({
Key? key,
super.key,
required this.name,
required this.description,
this.codeFile,
this.preview,
this.highlightingTheme = draculaTheme,
}) : super(key: key);
});

@override
GallerizePageState createState() => GallerizePageState();
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/gallerize_preview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class GallerizePreview extends StatelessWidget {

/// Creates an instance of [GallerizePreview].
const GallerizePreview({
Key? key,
super.key,
required this.preview,
}) : super(key: key);
});

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 400e980

Please sign in to comment.