Перевёл 404
This commit is contained in:
parent
d9e0f9bdfd
commit
0a37ce249e
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ class _NotFoundPageState extends State<NotFoundPage>
|
|||
return Scaffold(
|
||||
body: Center(
|
||||
child: Text(
|
||||
'Page not found',
|
||||
'Страница не найдена',
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
),
|
||||
|
|
@ -30,14 +30,14 @@ class _NotFoundPageState extends State<NotFoundPage>
|
|||
onPressed: () {
|
||||
Get.back(canPop: false);
|
||||
},
|
||||
child: const Text('Go back'),
|
||||
child: const Text('Назад'),
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
Get.offAllNamed("/");
|
||||
},
|
||||
child: const Text('Go home'),
|
||||
child: const Text('Домой'),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue