flutter format

This commit is contained in:
poka 2022-06-18 03:21:54 +02:00
parent f02cd7d192
commit 51894fe6be
4 changed files with 7 additions and 8 deletions

View File

@ -90,8 +90,8 @@ class MyWalletsProvider with ChangeNotifier {
try {
log.w('DELETE ALL WALLETS ?');
final bool? _answer = await (confirmPopup(
context, 'areYouSureForgetAllChests'.tr()));
final bool? _answer =
await (confirmPopup(context, 'areYouSureForgetAllChests'.tr()));
if (_answer!) {
await walletBox.clear();
await chestBox.clear();

View File

@ -149,7 +149,8 @@ class OnboardingStepTen extends StatelessWidget {
animationType: AnimationType.fade,
validator: (v) {
if (v!.length < _pinLenght) {
return "yourPasswordLengthIsX".tr(args: [_pinLenght.toString()]);
return "yourPasswordLengthIsX"
.tr(args: [_pinLenght.toString()]);
} else {
return null;
}

View File

@ -45,10 +45,7 @@ class OnboardingStepNine extends StatelessWidget {
SizedBox(height: isTall ? 40 : 20),
common.buildProgressBar(8),
SizedBox(height: isTall ? 40 : 20),
common.buildText(
"hereIsThePasswordKeepIt".tr(),
20,
true),
common.buildText("hereIsThePasswordKeepIt".tr(), 20, true),
const SizedBox(height: 100),
Stack(
alignment: Alignment.centerRight,

View File

@ -38,7 +38,8 @@ class SubstrateSandBox extends StatelessWidget {
child: Text(
'🌐 Noeud connecté ?: ${_sub.nodeConnected} (${_sub.sdk.api.connectedNode?.endpoint})')),
if (_sub.nodeConnected)
Text('🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
Text(
'🏆 Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
const SizedBox(height: 20),
Row(children: [
const Text('💳 Liste des coffres:'),