2021-11-14 19:21:20 +01:00
|
|
|
|
// ignore_for_file: file_names
|
|
|
|
|
|
2021-02-28 02:38:52 +01:00
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
|
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/5.dart';
|
2021-02-28 02:38:52 +01:00
|
|
|
|
|
2022-05-23 10:53:44 +02:00
|
|
|
|
class OnboardingStepFor extends StatelessWidget {
|
|
|
|
|
const OnboardingStepFor({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]);
|
2021-03-01 04:48:28 +01:00
|
|
|
|
CommonElements common = CommonElements();
|
|
|
|
|
|
2021-02-28 02:38:52 +01:00
|
|
|
|
return Scaffold(
|
2022-05-23 10:53:44 +02:00
|
|
|
|
appBar: AppBar(
|
|
|
|
|
toolbarHeight: 60 * ratio,
|
|
|
|
|
title: const SizedBox(
|
|
|
|
|
height: 22,
|
|
|
|
|
child: Text(
|
|
|
|
|
'Votre phrase de restauration',
|
|
|
|
|
style: TextStyle(fontWeight: FontWeight.w600),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
extendBodyBehindAppBar: true,
|
|
|
|
|
body: SafeArea(
|
|
|
|
|
child: common.infoIntro(
|
|
|
|
|
context,
|
|
|
|
|
<TextSpan>[
|
|
|
|
|
const TextSpan(text: 'Il est temps de vous munir d’'),
|
|
|
|
|
const TextSpan(
|
|
|
|
|
text: 'un d’un papier et d’un crayon',
|
|
|
|
|
style: TextStyle(fontWeight: FontWeight.bold)),
|
|
|
|
|
const TextSpan(
|
|
|
|
|
text: ' afin de pouvoir noter votre phrase de restauration.'),
|
|
|
|
|
],
|
|
|
|
|
'gecko-oublie-aussi.png',
|
|
|
|
|
'>',
|
|
|
|
|
const OnboardingStepFive(),
|
|
|
|
|
3),
|
|
|
|
|
),
|
|
|
|
|
);
|
2021-02-28 02:38:52 +01:00
|
|
|
|
}
|
|
|
|
|
}
|