45 lines
1.2 KiB
Dart
45 lines
1.2 KiB
Dart
// ignore_for_file: file_names
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:gecko/globals.dart';
|
|
import 'package:gecko/screens/common_elements.dart';
|
|
import 'package:gecko/screens/onBoarding/3.dart';
|
|
|
|
class OnboardingStepTwo extends StatelessWidget {
|
|
const OnboardingStepTwo({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
CommonElements common = CommonElements();
|
|
|
|
return Scaffold(
|
|
backgroundColor: backgroundColor,
|
|
appBar: AppBar(
|
|
toolbarHeight: 60 * ratio,
|
|
title: SizedBox(
|
|
height: 22,
|
|
child: Text(
|
|
'yourMnemonic'.tr(),
|
|
style: const TextStyle(fontWeight: FontWeight.w600),
|
|
),
|
|
),
|
|
),
|
|
extendBodyBehindAppBar: true,
|
|
body: SafeArea(
|
|
child: Stack(children: [
|
|
common.infoIntro(
|
|
context,
|
|
'keepThisMnemonicSecure'.tr(),
|
|
'fabrication-de-portefeuille-impossible-sans-phrase.png',
|
|
'>',
|
|
const OnboardingStepThree(),
|
|
1),
|
|
CommonElements().offlineInfo(context),
|
|
]),
|
|
),
|
|
);
|
|
}
|
|
}
|