forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user