Skip to content
Snippets Groups Projects
Commit e90e3063 authored by poka's avatar poka
Browse files

fix flutter format

parent 58b6fba7
No related branches found
No related tags found
No related merge requests found
Pipeline #16103 failed
...@@ -176,16 +176,30 @@ DuniterIndexer _duniterIndexer = ...@@ -176,16 +176,30 @@ DuniterIndexer _duniterIndexer =
{ {
return isOwner return isOwner
? _showText('Identité confirmé') ? _showText('Identité confirmé')
: _duniterIndexer.getNameByAddress(context, address, null, 20, true, : _duniterIndexer.getNameByAddress(
Colors.grey[700]!, FontWeight.w500, FontStyle.italic); context,
address,
null,
20,
true,
Colors.grey[700]!,
FontWeight.w500,
FontStyle.italic);
} }
case 'Validated': case 'Validated':
{ {
return isOwner return isOwner
? _showText('Membre validé !', 18, true) ? _showText('Membre validé !', 18, true)
: _duniterIndexer.getNameByAddress(context, address, null, 20, true, : _duniterIndexer.getNameByAddress(
Colors.black, FontWeight.w600, FontStyle.normal); context,
address,
null,
20,
true,
Colors.black,
FontWeight.w600,
FontStyle.normal);
} }
case 'expired': case 'expired':
...@@ -431,8 +445,6 @@ DuniterIndexer _duniterIndexer = ...@@ -431,8 +445,6 @@ DuniterIndexer _duniterIndexer =
return _address; return _address;
} }
Widget walletNameController(BuildContext context, WalletData wallet, Widget walletNameController(BuildContext context, WalletData wallet,
[double size = 20]) { [double size = 20]) {
// WidgetsBinding.instance.addPostFrameCallback((_) { // WidgetsBinding.instance.addPostFrameCallback((_) {
......
...@@ -306,7 +306,6 @@ Future<void> infoPopup(BuildContext context, String title) async { ...@@ -306,7 +306,6 @@ Future<void> infoPopup(BuildContext context, String title) async {
); );
} }
// Widget geckoAppBar() { // Widget geckoAppBar() {
// return AppBar( // return AppBar(
// toolbarHeight: 60 * ratio, // toolbarHeight: 60 * ratio,
......
...@@ -6,7 +6,8 @@ import 'package:gecko/screens/common_elements.dart'; ...@@ -6,7 +6,8 @@ import 'package:gecko/screens/common_elements.dart';
import 'package:gecko/screens/onBoarding/8.dart'; import 'package:gecko/screens/onBoarding/8.dart';
class OnboardingStepSeven extends StatelessWidget { class OnboardingStepSeven extends StatelessWidget {
const OnboardingStepSeven({Key? key, this.scanDerivation = false}) : super(key: key); const OnboardingStepSeven({Key? key, this.scanDerivation = false})
: super(key: key);
final bool scanDerivation; final bool scanDerivation;
@override @override
......
...@@ -12,7 +12,6 @@ class TemplateScreen extends StatelessWidget { ...@@ -12,7 +12,6 @@ class TemplateScreen extends StatelessWidget {
return Scaffold( return Scaffold(
backgroundColor: backgroundColor, backgroundColor: backgroundColor,
appBar: AppBar( appBar: AppBar(
toolbarHeight: 60 * ratio, toolbarHeight: 60 * ratio,
title: const SizedBox( title: const SizedBox(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment