2021-11-14 19:21:20 +01:00
|
|
|
// ignore_for_file: file_names
|
2022-06-17 23:10:01 +02:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
2022-11-30 05:22:37 +01:00
|
|
|
|
2021-03-02 07:05:47 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2021-03-08 00:32:18 +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/9.dart';
|
2021-03-02 07:05:47 +01:00
|
|
|
|
2022-05-23 10:53:44 +02:00
|
|
|
class OnboardingStepEight extends StatelessWidget {
|
2022-06-07 01:10:40 +02:00
|
|
|
const OnboardingStepEight({Key? key, this.scanDerivation = false})
|
|
|
|
: super(key: key);
|
|
|
|
final bool scanDerivation;
|
2021-03-02 07:05:47 +01:00
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
CommonElements common = CommonElements();
|
2022-05-23 10:53:44 +02: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 23:10:01 +02:00
|
|
|
title: SizedBox(
|
2022-05-23 10:53:44 +02:00
|
|
|
height: 22,
|
|
|
|
child: Text(
|
2022-06-17 23:10:01 +02:00
|
|
|
'myPassword'.tr(),
|
|
|
|
style: const TextStyle(fontWeight: FontWeight.w600),
|
2022-05-23 10:53:44 +02:00
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
extendBodyBehindAppBar: true,
|
|
|
|
body: SafeArea(
|
2022-08-17 23:01:20 +02:00
|
|
|
child: Stack(children: [
|
|
|
|
common.infoIntro(
|
|
|
|
context,
|
|
|
|
'thisPasswordProtectsYourWalletsInASecureChest'.tr(),
|
|
|
|
'coffre-fort-protege-les-portefeuilles.png',
|
|
|
|
'>',
|
|
|
|
OnboardingStepNine(scanDerivation: scanDerivation),
|
|
|
|
7,
|
|
|
|
isMd: true),
|
|
|
|
CommonElements().offlineInfo(context),
|
|
|
|
]),
|
2022-05-23 10:53:44 +02:00
|
|
|
),
|
|
|
|
);
|
2021-03-02 07:05:47 +01:00
|
|
|
}
|
|
|
|
}
|