1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Start to build specific Forez tour

This commit is contained in:
2021-04-23 18:11:17 +02:00
parent e78afa290c
commit 1fa4ed59d4
7 changed files with 91 additions and 52 deletions

View File

@ -1,3 +1,4 @@
import 'package:comunic/models/config.dart';
import 'package:comunic/ui/widgets/tour/fixed_tour_size_text_area.dart';
import 'package:comunic/utils/intl_utils.dart';
import 'package:flutter/material.dart';
@ -7,6 +8,11 @@ import 'package:flutter/material.dart';
/// @author Pierre Hubert
class FirstTourPane extends StatelessWidget {
final String msgOne;
final String msgTwo;
const FirstTourPane({Key key, this.msgOne, this.msgTwo}) : super(key: key);
@override
Widget build(BuildContext context) {
return Column(
@ -14,15 +20,15 @@ class FirstTourPane extends StatelessWidget {
children: <Widget>[
Spacer(flex: 3),
Text(
"Comunic",
config().appName,
style: TextStyle(fontSize: 25),
),
Spacer(flex: 2),
FixedTourSizeTextArea(tr(
"Welcome to Comunic, the social network that respect your privacy!")),
FixedTourSizeTextArea(msgOne ??
tr("Welcome to Comunic, the social network that respect your privacy!")),
Spacer(flex: 1),
FixedTourSizeTextArea(tr(
"Let's configure a few things and present you some features of the network...")),
FixedTourSizeTextArea(msgTwo ??
tr("Let's configure a few things and present you some features of the network...")),
Spacer(flex: 3),
],
);