Waaaay big enchancements

This commit is contained in:
Artem Kokos
2026-04-02 23:51:28 +07:00
parent 6221fbcc71
commit 5e09f41747
14 changed files with 1308 additions and 111 deletions

View File

@@ -164,7 +164,7 @@ class _GroupEditScreenState extends ConsumerState<GroupEditScreen> {
activeColor: Colors.deepOrange,
title: Text(name),
subtitle: Text(
'${mac}${ip != null ? ' - $ip' : ''}',
'$mac${ip != null ? ' - $ip' : ''}',
style: const TextStyle(
fontSize: 11, color: Colors.white38),
),
@@ -183,23 +183,28 @@ class _GroupEditScreenState extends ConsumerState<GroupEditScreen> {
),
// Кнопка сохранения
SizedBox(
width: double.infinity,
height: 48,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.deepOrange,
foregroundColor: Colors.white,
Padding(
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).padding.bottom + 8,
),
child: SizedBox(
width: double.infinity,
height: 48,
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.deepOrange,
foregroundColor: Colors.white,
),
onPressed: _saving ? null : _save,
child: _saving
? const SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2, color: Colors.white),
)
: const Text('СОЗДАТЬ ГРУППУ'),
),
onPressed: _saving ? null : _save,
child: _saving
? const SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2, color: Colors.white),
)
: const Text('СОЗДАТЬ ГРУППУ'),
),
),
],