2021-11-14 19:21:20 +01:00
|
|
|
// ignore_for_file: file_names
|
2022-06-17 21:34:47 +02:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
2021-02-28 02:38:52 +01:00
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
2021-11-08 23:12:25 +01:00
|
|
|
import 'package:gecko/globals.dart';
|
2021-11-14 19:21:20 +01:00
|
|
|
import 'package:gecko/screens/common_elements.dart';
|
2021-03-08 06:21:04 +01:00
|
|
|
import 'package:gecko/screens/onBoarding/2.dart';
|
2021-02-28 02:38:52 +01:00
|
|
|
|
|
|
|
class OnboardingStepOne extends StatelessWidget {
|
2022-05-23 10:53:44 +02:00
|
|
|
const OnboardingStepOne({Key? key}) : super(key: key);
|
2021-11-14 19:21:20 +01:00
|
|
|
|
2021-02-28 02:38:52 +01:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
2022-05-23 10:53:44 +02:00
|
|
|
CommonElements common = CommonElements();
|
2021-02-28 02:38:52 +01:00
|
|
|
return Scaffold(
|
2022-05-29 00:00:57 +02:00
|
|
|
backgroundColor: backgroundColor,
|
2022-05-23 10:53:44 +02:00
|
|
|
appBar: AppBar(
|
|
|
|
toolbarHeight: 60 * ratio,
|
2022-06-17 22:19:14 +02:00
|
|
|
title: SizedBox(
|
2022-05-23 10:53:44 +02:00
|
|
|
height: 22,
|
|
|
|
child: Text(
|
2022-06-17 22:19:14 +02:00
|
|
|
'newWallet'.tr(),
|
|
|
|
style: const TextStyle(fontWeight: FontWeight.w600),
|
2022-05-21 06:47:26 +02:00
|
|
|
),
|
|
|
|
),
|
2022-05-23 10:53:44 +02:00
|
|
|
),
|
|
|
|
extendBodyBehindAppBar: true,
|
|
|
|
body: SafeArea(
|
|
|
|
child: common.infoIntro(
|
2022-06-17 21:34:47 +02:00
|
|
|
context,
|
2022-06-17 21:50:18 +02:00
|
|
|
'geckoGenerateYourWalletFromMnemonic'.tr(),
|
2022-06-17 21:34:47 +02:00
|
|
|
'fabrication-de-portefeuille.png',
|
|
|
|
'>',
|
|
|
|
const OnboardingStepTwo(),
|
|
|
|
0,
|
2022-06-17 21:50:18 +02:00
|
|
|
isMd: true,
|
2022-06-17 21:34:47 +02:00
|
|
|
),
|
2022-05-23 10:53:44 +02:00
|
|
|
),
|
|
|
|
);
|
2021-02-28 02:38:52 +01:00
|
|
|
}
|
|
|
|
}
|