style(all): apply flutter formatter
This commit is contained in:
parent
4bb4991e04
commit
1659db18d3
|
@ -19,7 +19,8 @@ class OnboardingStepOne extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Nouveau portefeuilles', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Nouveau portefeuilles', progress),
|
||||
common.bubbleSpeak(
|
||||
"Il semblerait que vous n’ayez pas encore de trousseau.\n\nUn trousseau vous permet de gérer un ou plusieurs portefeuilles.",
|
||||
),
|
||||
|
@ -41,8 +42,10 @@ class OnboardingStepOne extends StatelessWidget {
|
|||
onPrimary: Colors.white, // foreground
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.push(context,
|
||||
FaderTransition(page: OnboardingStepTwo(), isFast: true));
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(
|
||||
page: OnboardingStepTwo(), isFast: true));
|
||||
},
|
||||
child: Text('Créer mon trousseau',
|
||||
style: TextStyle(fontSize: 20))),
|
||||
|
|
|
@ -18,7 +18,8 @@ class OnboardingStepTwelve extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"Si un jour vous changez de téléphone, votre code secret sera différent, mais il vous suffira de me redonner votre phrase de restauration pour recréer votre trousseau."),
|
||||
SizedBox(height: 10),
|
||||
|
@ -41,7 +42,8 @@ class OnboardingStepTwelve extends StatelessWidget {
|
|||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(page: OnboardingStepThirteen(), isFast: true),
|
||||
FaderTransition(
|
||||
page: OnboardingStepThirteen(), isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("Générer le code secret",
|
||||
|
|
|
@ -33,7 +33,8 @@ class OnboardingStepThirteen extends StatelessWidget {
|
|||
generatedWallet = snapshot.data;
|
||||
return Visibility(visible: false, child: Text(''));
|
||||
}),
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeakRich(<TextSpan>[
|
||||
TextSpan(
|
||||
text:
|
||||
|
@ -108,7 +109,8 @@ class OnboardingStepThirteen extends StatelessWidget {
|
|||
context,
|
||||
FaderTransition(
|
||||
page: OnboardingStepFourteen(
|
||||
generatedWallet: generatedWallet), isFast: true),
|
||||
generatedWallet: generatedWallet),
|
||||
isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("J'ai noté mon code secret",
|
||||
|
|
|
@ -39,7 +39,8 @@ class OnboardingStepFourteen extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"Avez-vous bien mémorisé votre code secret ?\n\nVérifions ça ensemble !\n\nTapez votre code secret dans le champ ci-dessous (après c’est fini, promis-juré-gecko)."),
|
||||
SizedBox(height: isTall ? 80 : 10),
|
||||
|
|
|
@ -18,7 +18,8 @@ class OnboardingStepFiveteen extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"Top !\n\nVotre trousseau de clef et votre portefeuille ont été créés avec un immense succès.\n\nFélicitations !",
|
||||
),
|
||||
|
|
|
@ -20,7 +20,8 @@ class OnboardingStepTwo extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Nouveau portefeuilles', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Nouveau portefeuilles', progress),
|
||||
common.bubbleSpeak(
|
||||
"Un trousseau est créé à partir d’une phrase de restauration.",
|
||||
),
|
||||
|
@ -42,7 +43,8 @@ class OnboardingStepTwo extends StatelessWidget {
|
|||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(page: OnboardingStepFor(), isFast: true),
|
||||
FaderTransition(
|
||||
page: OnboardingStepFor(), isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("D'accord", style: TextStyle(fontSize: 20)),
|
||||
|
|
|
@ -18,7 +18,8 @@ class OnboardingStepFor extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"Si un jour vous changez de téléphone, il vous suffira de me redonner votre phrase de restauration pour recréer votre trousseau.",
|
||||
),
|
||||
|
@ -47,7 +48,8 @@ class OnboardingStepFor extends StatelessWidget {
|
|||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(page: OnboardingStepFive(), isFast: true),
|
||||
FaderTransition(
|
||||
page: OnboardingStepFive(), isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("J'ai compris",
|
||||
|
|
|
@ -18,7 +18,8 @@ class OnboardingStepFive extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"Par contre, attention :\n\nDans une blockchain, il n’y a pas de procédure de récupération de trousseau.\n\nSi vous perdez votre phrase de restauration, je ne pourrai pas vous la communiquer, et vous ne pourrez donc plus jamais accéder à votre compte.",
|
||||
),
|
||||
|
@ -42,7 +43,8 @@ class OnboardingStepFive extends StatelessWidget {
|
|||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(page: OnboardingStepSeven(), isFast: true),
|
||||
FaderTransition(
|
||||
page: OnboardingStepSeven(), isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("J'ai compris",
|
||||
|
|
|
@ -18,7 +18,8 @@ class OnboardingStepSeven extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeakRich(
|
||||
<TextSpan>[
|
||||
TextSpan(text: "Munissez-vous d'"),
|
||||
|
@ -59,7 +60,8 @@ class OnboardingStepSeven extends StatelessWidget {
|
|||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(page: OnboardingStepEight(), isFast: true),
|
||||
FaderTransition(
|
||||
page: OnboardingStepEight(), isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("J'ai de quoi noter",
|
||||
|
|
|
@ -19,7 +19,8 @@ class OnboardingStepEight extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"J’ai généré votre phrase de restauration !\nTâchez de la garder bien secrète, car elle permet à quiconque la connaît d’accéder à tous vos portefeuilles.",
|
||||
),
|
||||
|
|
|
@ -25,7 +25,8 @@ class OnboardingStepNine extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context, 'Ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Ma phrase de restauration', progress),
|
||||
common.bubbleSpeak(
|
||||
"C’est le moment de noter votre phrase !",
|
||||
long: 60,
|
||||
|
|
|
@ -44,8 +44,8 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
extendBodyBehindAppBar: true,
|
||||
body: SafeArea(
|
||||
child: Column(children: <Widget>[
|
||||
common.onboardingProgressBar(context,
|
||||
'Valider ma phrase de restauration', progress),
|
||||
common.onboardingProgressBar(
|
||||
context, 'Valider ma phrase de restauration', progress),
|
||||
common.bubbleSpeakRich(<TextSpan>[
|
||||
TextSpan(
|
||||
text:
|
||||
|
@ -54,8 +54,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
TextSpan(
|
||||
text: '${_generateWalletProvider.nbrWord + 1}ème mot',
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 16 * ratio)),
|
||||
fontWeight: FontWeight.bold, fontSize: 16 * ratio)),
|
||||
TextSpan(
|
||||
text: " de votre phrase de restauration :",
|
||||
style: TextStyle(fontSize: 16 * ratio)),
|
||||
|
@ -164,7 +163,8 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
Navigator.push(
|
||||
context,
|
||||
FaderTransition(
|
||||
page: OnboardingStepEleven(), isFast: true),
|
||||
page: OnboardingStepEleven(),
|
||||
isFast: true),
|
||||
);
|
||||
},
|
||||
child: Text("Continuer",
|
||||
|
|
Loading…
Reference in New Issue