From 29b3de325c0bea2081f880013abeb4544fada2d9 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Sat, 24 May 2025 16:52:23 +0300 Subject: [PATCH] fix: analyzer --- .../kotlin-compiler-3965398408914680734.salive | 0 .../presentation/pages/verify_email_screen.dart | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 android/.kotlin/sessions/kotlin-compiler-3965398408914680734.salive diff --git a/android/.kotlin/sessions/kotlin-compiler-3965398408914680734.salive b/android/.kotlin/sessions/kotlin-compiler-3965398408914680734.salive new file mode 100644 index 00000000..e69de29b diff --git a/lib/features/registration/presentation/pages/verify_email_screen.dart b/lib/features/registration/presentation/pages/verify_email_screen.dart index d801b778..9f0da694 100644 --- a/lib/features/registration/presentation/pages/verify_email_screen.dart +++ b/lib/features/registration/presentation/pages/verify_email_screen.dart @@ -25,25 +25,25 @@ class _VerifyEmailScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar(title: Text("Подтвердите почту")), + appBar: AppBar(title: const Text("Подтвердите почту")), body: Padding( padding: const EdgeInsets.all(24.0), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text("Код отправлен на почту\nnazvanie@mail.com", textAlign: TextAlign.center), - SizedBox(height: 20), + const Text("Код отправлен на почту\nnazvanie@mail.com", textAlign: TextAlign.center), + const SizedBox(height: 20), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: List.generate(4, (index) => _buildCodeField(index)), ), - SizedBox(height: 20), - Text("Запросить код повторно", style: TextStyle(color: Colors.grey)), + const SizedBox(height: 20), + const Text("Запросить код повторно", style: TextStyle(color: Colors.grey)), TextButton( onPressed: () { // логика запроса нового кода }, - child: Text("Не приходит код?"), + child: const Text("Не приходит код?"), ) ], ), @@ -60,7 +60,7 @@ class _VerifyEmailScreenState extends State { keyboardType: TextInputType.number, textAlign: TextAlign.center, maxLength: 1, - style: TextStyle(fontSize: 24), + style: const TextStyle(fontSize: 24), decoration: InputDecoration( counterText: "", border: OutlineInputBorder(