refactor(tests): replace 'final' with 'const' for improved performance in various test files

This commit is contained in:
mso7nueh
2025-12-08 11:32:40 +03:00
parent c2a506cdbf
commit 746d366c18
56 changed files with 199 additions and 254 deletions

View File

@@ -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,