gecko/lib/screens/onBoarding/8.dart

43 lines
1.4 KiB
Dart
Raw Normal View History

2021-11-14 19:21:20 +01:00
// ignore_for_file: file_names
import 'package:flutter/services.dart';
import 'package:flutter/material.dart';
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';
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;
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
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,
title: const SizedBox(
height: 22,
child: Text(
'Mon code secret',
style: TextStyle(fontWeight: FontWeight.w600),
),
),
),
extendBodyBehindAppBar: true,
body: SafeArea(
child: common.infoIntro(
context,
2022-06-17 21:50:18 +02:00
'Ce code secret protège vos portefeuilles dans un coffre-fort **dont vous seul possédez le code**, de sorte que vos portefeuilles seront inutilisables par dautres.',
2022-05-23 10:53:44 +02:00
'coffre-fort-protege-les-portefeuilles.png',
'>',
2022-06-07 01:10:40 +02:00
OnboardingStepNine(scanDerivation: scanDerivation),
7,
2022-06-17 21:50:18 +02:00
isMd: true),
2022-05-23 10:53:44 +02:00
),
);
}
}