forked from eatvio/eatvio_app
refactor(tests): replace 'final' with 'const' for improved performance in various test files
This commit is contained in:
@@ -57,7 +57,7 @@ void main() {
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: '/home',
|
||||
builder: (context, state) => Scaffold(
|
||||
builder: (context, state) => const Scaffold(
|
||||
body: Center(child: Text('Home')),
|
||||
),
|
||||
),
|
||||
@@ -81,7 +81,7 @@ void main() {
|
||||
return MaterialApp.router(
|
||||
routerConfig: router,
|
||||
theme: ThemeHelper().themeData(),
|
||||
localizationsDelegates: [
|
||||
localizationsDelegates: const [
|
||||
S.delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
|
||||
Reference in New Issue
Block a user