fix: analyzer

This commit is contained in:
mso7nueh
2025-05-24 16:52:23 +03:00
parent 1e1005a09c
commit 29b3de325c
2 changed files with 7 additions and 7 deletions

View File

@@ -25,25 +25,25 @@ class _VerifyEmailScreenState extends State<VerifyEmailScreen> {
@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<VerifyEmailScreen> {
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
maxLength: 1,
style: TextStyle(fontSize: 24),
style: const TextStyle(fontSize: 24),
decoration: InputDecoration(
counterText: "",
border: OutlineInputBorder(