Перевёл 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(
|
return Scaffold(
|
||||||
body: Center(
|
body: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Page not found',
|
'Страница не найдена',
|
||||||
style: Theme.of(context).textTheme.headlineMedium,
|
style: Theme.of(context).textTheme.headlineMedium,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -30,14 +30,14 @@ class _NotFoundPageState extends State<NotFoundPage>
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Get.back(canPop: false);
|
Get.back(canPop: false);
|
||||||
},
|
},
|
||||||
child: const Text('Go back'),
|
child: const Text('Назад'),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Get.offAllNamed("/");
|
Get.offAllNamed("/");
|
||||||
},
|
},
|
||||||
child: const Text('Go home'),
|
child: const Text('Домой'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue