8000 Add keyword `const` in property `home` · CoderJava/Flutter-News-App@5cc26cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cc26cf

Browse files
committed
Add keyword const in property home
1 parent 4f430b2 commit 5cc26cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class _AppState extends State<App> {
4949
),
5050
),
5151
title: FlavorConfig.instance.flavor == Flavor.development ? 'Dev FNews' : 'FNews',
52-
home: SplashPage(),
52+
home: const SplashPage(),
5353
onGenerateRoute: (RouteSettings settings) => AppRoute.onGenerateRoute(settings),
5454
builder: (context, child) {
5555
return GestureDetector(

0 commit comments

Comments
 (0)
0