enh: decrease font size
This commit is contained in:
parent
0bf9a42dd3
commit
83a5d0959c
|
@ -157,12 +157,12 @@ class Gecko extends StatelessWidget {
|
|||
scaffoldBackgroundColor: backgroundColor,
|
||||
canvasColor: backgroundColor,
|
||||
dialogBackgroundColor: backgroundColor,
|
||||
textTheme: const TextTheme(
|
||||
bodyLarge: TextStyle(fontSize: 16),
|
||||
bodyMedium: TextStyle(fontSize: 18),
|
||||
).apply(
|
||||
bodyColor: const Color(0xFF000000),
|
||||
),
|
||||
// textTheme: const TextTheme(
|
||||
// bodyLarge: TextStyle(fontSize: 13),
|
||||
// bodyMedium: TextStyle(fontSize: 15),
|
||||
// ).apply(
|
||||
// bodyColor: const Color(0xFF000000),
|
||||
// ),
|
||||
colorScheme:
|
||||
ColorScheme.fromSwatch().copyWith(secondary: Colors.grey[850]),
|
||||
),
|
||||
|
|
|
@ -7,7 +7,7 @@ double scaleSize(double size) {
|
|||
}
|
||||
|
||||
TextStyle scaledTextStyle({
|
||||
double fontSize = 16,
|
||||
double fontSize = 14,
|
||||
double? height,
|
||||
FontStyle? fontStyle,
|
||||
FontWeight? fontWeight,
|
||||
|
|
|
@ -59,13 +59,13 @@ class ChestProvider with ChangeNotifier {
|
|||
return AlertDialog(
|
||||
title: Text(
|
||||
'areYouSureToDeleteWallet'.tr(args: [walletName!]),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: Text("no".tr(),
|
||||
style:
|
||||
scaledTextStyle(fontSize: 17, color: Colors.blueAccent),
|
||||
scaledTextStyle(fontSize: 16, color: Colors.blueAccent),
|
||||
key: keyCancel),
|
||||
onPressed: () {
|
||||
Navigator.pop(context, false);
|
||||
|
@ -73,7 +73,7 @@ class ChestProvider with ChangeNotifier {
|
|||
),
|
||||
TextButton(
|
||||
child: Text("yes".tr(),
|
||||
style: scaledTextStyle(fontSize: 17, color: Colors.red),
|
||||
style: scaledTextStyle(fontSize: 16, color: Colors.red),
|
||||
key: keyConfirm),
|
||||
onPressed: () {
|
||||
Navigator.pop(context, true);
|
||||
|
|
|
@ -1339,7 +1339,7 @@ void snackNode(bool isConnected) {
|
|||
final snackBar = SnackBar(
|
||||
backgroundColor: Colors.grey[900],
|
||||
padding: const EdgeInsets.all(20),
|
||||
content: Text(message, style: scaledTextStyle(fontSize: 14)),
|
||||
content: Text(message, style: scaledTextStyle(fontSize: 13)),
|
||||
duration: const Duration(seconds: 4));
|
||||
ScaffoldMessenger.of(homeContext).showSnackBar(snackBar);
|
||||
}
|
||||
|
|
|
@ -171,7 +171,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
title: Text(
|
||||
'confirmYourIdentity'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(fontSize: 17, fontWeight: FontWeight.w500),
|
||||
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
content: SizedBox(
|
||||
height: 100,
|
||||
|
@ -196,7 +196,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
textAlign: TextAlign.center,
|
||||
autofocus: true,
|
||||
controller: idtyName,
|
||||
style: const TextStyle(fontSize: 17),
|
||||
style: const TextStyle(fontSize: 16),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
Consumer<WalletOptionsProvider>(builder: (context, wOptions, _) {
|
||||
|
@ -250,7 +250,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
child: Text(
|
||||
"validate".tr(),
|
||||
style: TextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
color: canValidate
|
||||
? const Color(0xffD80000)
|
||||
: Colors.grey[500]),
|
||||
|
@ -278,7 +278,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
title: Text(
|
||||
'chooseWalletName'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(fontSize: 20, fontWeight: FontWeight.w500),
|
||||
style: const TextStyle(fontSize: 19, fontWeight: FontWeight.w500),
|
||||
),
|
||||
content: SizedBox(
|
||||
height: 100,
|
||||
|
@ -289,7 +289,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
textAlign: TextAlign.center,
|
||||
autofocus: true,
|
||||
controller: walletName,
|
||||
style: const TextStyle(fontSize: 19),
|
||||
style: const TextStyle(fontSize: 18),
|
||||
)
|
||||
]),
|
||||
),
|
||||
|
@ -304,7 +304,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
child: Text(
|
||||
"validate".tr(),
|
||||
style: TextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
color: canValidateNameBool
|
||||
? const Color(0xffD80000)
|
||||
: Colors.grey,
|
||||
|
@ -331,7 +331,7 @@ class WalletOptionsProvider with ChangeNotifier {
|
|||
child: Text(
|
||||
"cancel".tr(),
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
color: Colors.grey[800],
|
||||
fontWeight: FontWeight.w300),
|
||||
),
|
||||
|
|
|
@ -135,7 +135,7 @@ snackCopyKey(context) {
|
|||
backgroundColor: Colors.grey[900],
|
||||
padding: EdgeInsets.all(scaleSize(19)),
|
||||
content: Text("thisAddressHasBeenCopiedToClipboard".tr(),
|
||||
style: scaledTextStyle(fontSize: 14)),
|
||||
style: scaledTextStyle(fontSize: 13)),
|
||||
duration: const Duration(seconds: 2));
|
||||
ScaffoldMessenger.of(context).showSnackBar(snackBar);
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ snackCopySeed(context) {
|
|||
backgroundColor: Colors.grey[900],
|
||||
padding: EdgeInsets.all(scaleSize(19)),
|
||||
content: Text("thisMnemonicHasBeenCopiedToClipboard".tr(),
|
||||
style: scaledTextStyle(fontSize: 14)),
|
||||
style: scaledTextStyle(fontSize: 13)),
|
||||
duration: const Duration(seconds: 4));
|
||||
ScaffoldMessenger.of(context).showSnackBar(snackBar);
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class _ActivityScreenState extends State<ActivityScreen> {
|
|||
toolbarHeight: scaleSize(57),
|
||||
title: Text(
|
||||
'accountActivity'.tr(),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: const GeckoBottomAppBar(),
|
||||
|
|
|
@ -45,7 +45,7 @@ class CertificationsScreen extends StatelessWidget {
|
|||
header: Row(children: [
|
||||
Text(
|
||||
'received'.tr(),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
ScaledSizedBox(width: 5),
|
||||
CertsCounter(address: address)
|
||||
|
@ -64,7 +64,7 @@ class CertificationsScreen extends StatelessWidget {
|
|||
header: Row(children: [
|
||||
Text(
|
||||
'sent'.tr(),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
ScaledSizedBox(width: 5),
|
||||
CertsCounter(address: address, isSent: true)
|
||||
|
|
|
@ -24,14 +24,14 @@ class DebugScreen extends StatelessWidget {
|
|||
children: [
|
||||
Text(
|
||||
'node: ${sub.getConnectedEndpoint()}',
|
||||
style: TextStyle(fontSize: 15, color: Colors.grey[700]),
|
||||
style: TextStyle(fontSize: 14, color: Colors.grey[700]),
|
||||
),
|
||||
const SizedBox(height: 15),
|
||||
Text(
|
||||
'blockN'.tr(args: [
|
||||
sub.blocNumber.toString()
|
||||
]), //'bloc N°${sub.blocNumber}',
|
||||
style: TextStyle(fontSize: 15, color: Colors.grey[700]),
|
||||
style: TextStyle(fontSize: 14, color: Colors.grey[700]),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
SizedBox(
|
||||
|
@ -47,7 +47,7 @@ class DebugScreen extends StatelessWidget {
|
|||
child: const Text(
|
||||
'Spawn a bloc',
|
||||
style: TextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w600),
|
||||
fontSize: 16, fontWeight: FontWeight.w600),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -189,7 +189,7 @@ Widget geckHome(context) {
|
|||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w700,
|
||||
shadows: <Shadow>[
|
||||
const Shadow(
|
||||
|
@ -278,7 +278,7 @@ Widget welcomeHome(context) {
|
|||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
fontWeight: FontWeight.w700,
|
||||
shadows: const <Shadow>[
|
||||
Shadow(
|
||||
|
@ -356,7 +356,7 @@ Widget welcomeHome(context) {
|
|||
child: Text(
|
||||
'createWallet'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
@ -383,7 +383,7 @@ Widget welcomeHome(context) {
|
|||
child: Text(
|
||||
"restoreWallet".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
color: orangeC,
|
||||
fontWeight: FontWeight.w600),
|
||||
),
|
||||
|
|
|
@ -52,7 +52,7 @@ class _ChangePinScreenState extends State<ChangePinScreen> {
|
|||
'choosePassword'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 17.0,
|
||||
fontSize: 16.0,
|
||||
color: Colors.grey[600],
|
||||
fontWeight: FontWeight.w400),
|
||||
),
|
||||
|
@ -67,7 +67,7 @@ class _ChangePinScreenState extends State<ChangePinScreen> {
|
|||
textAlign: TextAlign.center,
|
||||
decoration: const InputDecoration(),
|
||||
style: const TextStyle(
|
||||
fontSize: 30.0,
|
||||
fontSize: 29.0,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.bold)),
|
||||
IconButton(
|
||||
|
@ -102,7 +102,7 @@ class _ChangePinScreenState extends State<ChangePinScreen> {
|
|||
},
|
||||
child: Text(
|
||||
'confirm'.tr(),
|
||||
style: const TextStyle(fontSize: 28),
|
||||
style: const TextStyle(fontSize: 27),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
|
|
@ -68,7 +68,7 @@ class ChestOptions extends StatelessWidget {
|
|||
child: Text(
|
||||
'displayMnemonic'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: orangeC,
|
||||
),
|
||||
),
|
||||
|
@ -113,7 +113,7 @@ class ChestOptions extends StatelessWidget {
|
|||
Text(
|
||||
'changePassword'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: sub.nodeConnected
|
||||
? Colors.grey[500]
|
||||
: Colors.grey[500]),
|
||||
|
@ -149,7 +149,7 @@ class ChestOptions extends StatelessWidget {
|
|||
Text(
|
||||
'createDerivation'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: sub.nodeConnected
|
||||
? Colors.black
|
||||
: Colors.grey[500]),
|
||||
|
@ -176,7 +176,7 @@ class ChestOptions extends StatelessWidget {
|
|||
Text(
|
||||
'deleteChest'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: const Color(0xffD80000),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -65,7 +65,7 @@ class _ChooseChestState extends State<ChooseChest> {
|
|||
const SizedBox(height: 30),
|
||||
Text(
|
||||
i.value.name!,
|
||||
style: const TextStyle(fontSize: 21),
|
||||
style: const TextStyle(fontSize: 20),
|
||||
),
|
||||
]);
|
||||
},
|
||||
|
@ -119,7 +119,7 @@ class _ChooseChestState extends State<ChooseChest> {
|
|||
child: Text(
|
||||
'openThisChest'.tr(),
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
fontSize: 21,
|
||||
color: backgroundColor,
|
||||
fontWeight: FontWeight.w600),
|
||||
),
|
||||
|
@ -145,7 +145,7 @@ class _ChooseChestState extends State<ChooseChest> {
|
|||
child: Center(
|
||||
child: Text('createChest'.tr(),
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
fontSize: 21,
|
||||
color: orangeC,
|
||||
fontWeight: FontWeight.w600))),
|
||||
),
|
||||
|
@ -168,7 +168,7 @@ class _ChooseChestState extends State<ChooseChest> {
|
|||
child: Center(
|
||||
child: Text('importChest'.tr(),
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
fontSize: 21,
|
||||
color: orangeC,
|
||||
fontWeight: FontWeight.w600))),
|
||||
)),
|
||||
|
|
|
@ -55,7 +55,7 @@ class _CustomDerivationState extends State<CustomDerivation> {
|
|||
const Spacer(),
|
||||
Text(
|
||||
'chooseDerivation'.tr(),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
ScaledSizedBox(
|
||||
|
@ -89,7 +89,7 @@ class _CustomDerivationState extends State<CustomDerivation> {
|
|||
Text(
|
||||
value,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, color: Colors.black),
|
||||
fontSize: 16, color: Colors.black),
|
||||
),
|
||||
const Spacer(),
|
||||
]),
|
||||
|
@ -127,7 +127,7 @@ class _CustomDerivationState extends State<CustomDerivation> {
|
|||
child: Text(
|
||||
'validate'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
|
|
@ -91,10 +91,10 @@ class ImportG1v1 extends StatelessWidget {
|
|||
keyboardType: TextInputType.text,
|
||||
controller: sub.csSalt,
|
||||
obscureText: !sub.isCesiumIDVisible,
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
style: scaledTextStyle(fontSize: 13),
|
||||
decoration: InputDecoration(
|
||||
hintText: 'enterCesiumId'.tr(),
|
||||
hintStyle: scaledTextStyle(fontSize: 14),
|
||||
hintStyle: scaledTextStyle(fontSize: 13),
|
||||
suffixIcon: IconButton(
|
||||
key: keyCesiumIdVisible,
|
||||
icon: Icon(
|
||||
|
@ -133,10 +133,10 @@ class ImportG1v1 extends StatelessWidget {
|
|||
keyboardType: TextInputType.text,
|
||||
controller: sub.csPassword,
|
||||
obscureText: !sub.isCesiumIDVisible,
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
style: scaledTextStyle(fontSize: 13),
|
||||
decoration: InputDecoration(
|
||||
hintText: 'enterCesiumPassword'.tr(),
|
||||
hintStyle: scaledTextStyle(fontSize: 14),
|
||||
hintStyle: scaledTextStyle(fontSize: 13),
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(
|
||||
sub.isCesiumIDVisible
|
||||
|
@ -169,7 +169,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
child: Text(
|
||||
'v1: ${getShortPubkey(sub.g1V1OldPubkey)}',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontFamily: 'Monospace'),
|
||||
),
|
||||
|
@ -185,7 +185,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
child: Text(
|
||||
'v2: ${getShortPubkey(sub.g1V1NewAddress)}',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontFamily: 'Monospace'),
|
||||
),
|
||||
|
@ -197,7 +197,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
children: [
|
||||
Text(
|
||||
'${statusData.fromBalance['transferableBalance']} $unit',
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
IdentityStatus(
|
||||
address: sub.g1V1NewAddress,
|
||||
|
@ -214,7 +214,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
ScaledSizedBox(height: 20),
|
||||
Text(
|
||||
'migrateToThisWallet'.tr(),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
ScaledSizedBox(height: 5),
|
||||
DropdownButtonHideUnderline(
|
||||
|
@ -228,7 +228,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
value: wallet,
|
||||
child: Text(
|
||||
wallet.name!,
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
);
|
||||
}).toList(),
|
||||
|
@ -295,7 +295,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
child: Text(
|
||||
'migrateAccount'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19, fontWeight: FontWeight.w600),
|
||||
fontSize: 18, fontWeight: FontWeight.w600),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -304,7 +304,7 @@ class ImportG1v1 extends StatelessWidget {
|
|||
statusData.validationStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 12, color: Colors.grey[600]),
|
||||
fontSize: 11, color: Colors.grey[600]),
|
||||
)
|
||||
]);
|
||||
});
|
||||
|
|
|
@ -57,12 +57,12 @@ class ManageMembership extends StatelessWidget {
|
|||
children: [
|
||||
Text('revokeMyIdentity'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
color: Colors.grey[500])),
|
||||
ScaledSizedBox(height: 2),
|
||||
Text("youCannotRevokeThisIdentity".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 13,
|
||||
fontSize: 12,
|
||||
color: Colors.grey[500])),
|
||||
]),
|
||||
],
|
||||
|
@ -92,7 +92,7 @@ class ManageMembership extends StatelessWidget {
|
|||
ScaledSizedBox(width: 16),
|
||||
Icon(Icons.change_circle_outlined, size: scaleSize(32)),
|
||||
ScaledSizedBox(width: 11.5),
|
||||
Text('Migrer mon identité', style: scaledTextStyle(fontSize: 18)),
|
||||
Text('Migrer mon identité', style: scaledTextStyle(fontSize: 17)),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
@ -138,7 +138,7 @@ class ManageMembership extends StatelessWidget {
|
|||
height: scaleSize(28),
|
||||
),
|
||||
ScaledSizedBox(width: 16),
|
||||
Text('Révoquer mon adhésion', style: scaledTextStyle(fontSize: 18)),
|
||||
Text('Révoquer mon adhésion', style: scaledTextStyle(fontSize: 17)),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -37,7 +37,7 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
final newWalletAddress = TextEditingController();
|
||||
|
||||
final mdStyle = MarkdownStyleSheet(
|
||||
p: scaledTextStyle(fontSize: 16, color: Colors.black, letterSpacing: 0.3),
|
||||
p: scaledTextStyle(fontSize: 15, color: Colors.black, letterSpacing: 0.3),
|
||||
textAlign: WrapAlignment.center,
|
||||
);
|
||||
final bool isUdUnit = configBox.get('isUdUnit') ?? false;
|
||||
|
@ -117,7 +117,7 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
),
|
||||
ScaledSizedBox(height: 55),
|
||||
Text('migrateToThisWallet'.tr(),
|
||||
style: scaledTextStyle(fontSize: 16)),
|
||||
style: scaledTextStyle(fontSize: 15)),
|
||||
ScaledSizedBox(height: 5),
|
||||
ScaledSizedBox(
|
||||
width: 320,
|
||||
|
@ -126,14 +126,14 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
autofocus: true,
|
||||
minLines: 2,
|
||||
maxLines: 2,
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
style: scaledTextStyle(fontSize: 13),
|
||||
decoration: InputDecoration(
|
||||
icon: Image.asset(
|
||||
'assets/onBoarding/phrase_de_restauration_flou.png',
|
||||
width: scaleSize(30),
|
||||
),
|
||||
hintText: 'enterYourNewMnemonic'.tr(),
|
||||
hintStyle: scaledTextStyle(fontSize: 14),
|
||||
hintStyle: scaledTextStyle(fontSize: 13),
|
||||
focusedBorder: const UnderlineInputBorder(
|
||||
borderSide: BorderSide(color: orangeC),
|
||||
),
|
||||
|
@ -148,14 +148,14 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
width: 320,
|
||||
child: TextField(
|
||||
controller: newWalletAddress,
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
style: scaledTextStyle(fontSize: 13),
|
||||
decoration: InputDecoration(
|
||||
icon: Image.asset(
|
||||
'assets/walletOptions/key.png',
|
||||
height: scaleSize(30),
|
||||
),
|
||||
hintText: 'enterYourNewAddress'.tr(args: [currencyName]),
|
||||
hintStyle: scaledTextStyle(fontSize: 14),
|
||||
hintStyle: scaledTextStyle(fontSize: 13),
|
||||
focusedBorder: const UnderlineInputBorder(
|
||||
borderSide: BorderSide(color: orangeC),
|
||||
),
|
||||
|
@ -222,7 +222,7 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
child: Text(
|
||||
'migrateIdentity'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
@ -239,14 +239,14 @@ class MigrateIdentityScreen extends StatelessWidget {
|
|||
statusData.validationStatus,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 12, color: Colors.grey[600]),
|
||||
scaledTextStyle(fontSize: 11, color: Colors.grey[600]),
|
||||
),
|
||||
ScaledSizedBox(height: 5),
|
||||
Text(
|
||||
matchInfo,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 12, color: Colors.grey[600]),
|
||||
scaledTextStyle(fontSize: 11, color: Colors.grey[600]),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -108,7 +108,7 @@ class RestoreChest extends StatelessWidget {
|
|||
child: Text(
|
||||
'restoreThisChest'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
@ -143,7 +143,7 @@ class RestoreChest extends StatelessWidget {
|
|||
'pasteFromClipboard'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16, fontWeight: FontWeight.w400),
|
||||
fontSize: 15, fontWeight: FontWeight.w400),
|
||||
),
|
||||
],
|
||||
)),
|
||||
|
@ -170,7 +170,7 @@ class RestoreChest extends StatelessWidget {
|
|||
key: keyBubbleSpeak,
|
||||
textAlign: TextAlign.justify,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.black, fontSize: 17, fontWeight: FontWeight.w400),
|
||||
color: Colors.black, fontSize: 16, fontWeight: FontWeight.w400),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
@ -212,7 +212,7 @@ class RestoreChest extends StatelessWidget {
|
|||
}
|
||||
},
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ class ShowSeed extends StatelessWidget {
|
|||
Text(
|
||||
'copy'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 14, color: Colors.grey[50]),
|
||||
fontSize: 13, color: Colors.grey[50]),
|
||||
)
|
||||
]),
|
||||
),
|
||||
|
@ -133,7 +133,7 @@ class ShowSeed extends StatelessWidget {
|
|||
child: Text(
|
||||
'close'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
@ -188,12 +188,12 @@ class ShowSeed extends StatelessWidget {
|
|||
child: Column(children: <Widget>[
|
||||
Text(
|
||||
nbr.toString(),
|
||||
style: scaledTextStyle(fontSize: 11, color: const Color(0xff6b6b52)),
|
||||
style: scaledTextStyle(fontSize: 10, color: const Color(0xff6b6b52)),
|
||||
),
|
||||
Text(
|
||||
dataWord,
|
||||
key: keyMnemonicWord(dataWord),
|
||||
style: scaledTextStyle(fontSize: 16, color: Colors.black),
|
||||
style: scaledTextStyle(fontSize: 15, color: Colors.black),
|
||||
),
|
||||
]),
|
||||
);
|
||||
|
@ -251,12 +251,12 @@ class PrintWallet extends StatelessWidget {
|
|||
pw.Text(
|
||||
number.toString(),
|
||||
style: pw.TextStyle(
|
||||
fontSize: 15, color: const PdfColor(0.5, 0, 0), font: ttf),
|
||||
fontSize: 14, color: const PdfColor(0.5, 0, 0), font: ttf),
|
||||
),
|
||||
pw.Text(
|
||||
dataWord,
|
||||
style: pw.TextStyle(
|
||||
fontSize: 20, color: const PdfColor(0, 0, 0), font: ttf),
|
||||
fontSize: 19, color: const PdfColor(0, 0, 0), font: ttf),
|
||||
),
|
||||
pw.SizedBox(height: 10)
|
||||
]),
|
||||
|
@ -300,7 +300,7 @@ class PrintWallet extends StatelessWidget {
|
|||
pw.Text(
|
||||
"keepThisPaperSafe".tr(),
|
||||
textAlign: pw.TextAlign.center,
|
||||
style: pw.TextStyle(fontSize: 15, font: ttf),
|
||||
style: pw.TextStyle(fontSize: 14, font: ttf),
|
||||
)
|
||||
],
|
||||
)
|
||||
|
|
|
@ -97,7 +97,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
currentChest.name!,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 22,
|
||||
fontSize: 21,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w700),
|
||||
)),
|
||||
|
@ -109,7 +109,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
'toUnlockEnterPassword'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w400),
|
||||
)),
|
||||
|
@ -121,7 +121,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
style: scaledTextStyle(
|
||||
color: Colors.red,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontSize: 16),
|
||||
fontSize: 15),
|
||||
),
|
||||
ScaledSizedBox(height: isTall ? 8 : 0),
|
||||
pinForm(context, pinLenght),
|
||||
|
@ -148,7 +148,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
Text(
|
||||
'rememberPassword'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15, color: Colors.grey[700]),
|
||||
fontSize: 14, color: Colors.grey[700]),
|
||||
),
|
||||
const Spacer()
|
||||
]),
|
||||
|
@ -173,7 +173,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
// child: Text(
|
||||
// 'changeChest'.tr(),
|
||||
// style: const scaledTextStyle(
|
||||
// fontSize: 22,
|
||||
// fontSize: 21,
|
||||
// color: Colors.grey, // orangeC
|
||||
// fontWeight: FontWeight.w600),
|
||||
// ),
|
||||
|
@ -240,7 +240,7 @@ class UnlockingWallet extends StatelessWidget {
|
|||
),
|
||||
showCursor: !kDebugMode,
|
||||
cursorColor: Colors.black,
|
||||
textStyle: scaledTextStyle(fontSize: 25, height: 1.6),
|
||||
textStyle: scaledTextStyle(fontSize: 24, height: 1.6),
|
||||
backgroundColor: const Color(0xffF9F9F1),
|
||||
enableActiveFill: false,
|
||||
controller: enterPin,
|
||||
|
|
|
@ -86,7 +86,7 @@ class WalletOptions extends StatelessWidget {
|
|||
? duniterIndexer
|
||||
.walletNameIndexer[walletOptions.address.text]!
|
||||
: wallet.name!,
|
||||
style: scaledTextStyle(fontSize: 19),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
);
|
||||
}),
|
||||
actions: [
|
||||
|
@ -348,7 +348,7 @@ class WalletOptions extends StatelessWidget {
|
|||
child: Text(
|
||||
'confirmMyIdentity'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21, fontWeight: FontWeight.w600),
|
||||
fontSize: 20, fontWeight: FontWeight.w600),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -356,7 +356,7 @@ class WalletOptions extends StatelessWidget {
|
|||
Text(
|
||||
"someoneCreatedYourIdentity".tr(args: [currencyName]),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
color: Colors.grey[600],
|
||||
fontStyle: FontStyle.italic,
|
||||
),
|
||||
|
@ -389,7 +389,7 @@ class WalletOptions extends StatelessWidget {
|
|||
ScaledSizedBox(width: 19),
|
||||
Text(shortPubkey,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w800,
|
||||
fontFamily: 'Monospace',
|
||||
color: Colors.black)),
|
||||
|
@ -447,7 +447,7 @@ class WalletOptions extends StatelessWidget {
|
|||
height: scaleSize(42),
|
||||
),
|
||||
ScaledSizedBox(width: 20),
|
||||
Text("displayActivity".tr(), style: scaledTextStyle(fontSize: 18)),
|
||||
Text("displayActivity".tr(), style: scaledTextStyle(fontSize: 17)),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
@ -492,7 +492,7 @@ class WalletOptions extends StatelessWidget {
|
|||
? 'thisWalletIsDefault'.tr()
|
||||
: 'defineWalletAsDefault'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
color: walletProvider.isDefaultWallet
|
||||
? Colors.grey[500]
|
||||
: Colors.black)),
|
||||
|
@ -561,7 +561,7 @@ class WalletOptions extends StatelessWidget {
|
|||
ScaledSizedBox(width: 19),
|
||||
Text('deleteThisWallet'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18, color: const Color(0xffD80000))),
|
||||
fontSize: 17, color: const Color(0xffD80000))),
|
||||
])
|
||||
: ScaledSizedBox(width: 30),
|
||||
);
|
||||
|
|
|
@ -57,7 +57,7 @@ class _WalletsHomeState extends State<WalletsHome> {
|
|||
currentChest.name!,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.grey[850],
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
],
|
||||
|
@ -114,7 +114,7 @@ class _WalletsHomeState extends State<WalletsHome> {
|
|||
Center(
|
||||
child: Text(
|
||||
'Veuillez générer votre premier portefeuille',
|
||||
style: scaledTextStyle(fontSize: 17, fontWeight: FontWeight.w500),
|
||||
style: scaledTextStyle(fontSize: 16, fontWeight: FontWeight.w500),
|
||||
)),
|
||||
]));
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ class _WalletsHomeState extends State<WalletsHome> {
|
|||
'explainDraggableWallet'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w500),
|
||||
fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
],
|
||||
))
|
||||
|
|
|
@ -67,7 +67,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
child: Text(
|
||||
"thisIsNotAGoodCode".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
color: Colors.red,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
|
@ -83,7 +83,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
Text(
|
||||
"youHaveToBeConnectedToValidateChest".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: Colors.redAccent,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
|
@ -113,7 +113,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
Text(
|
||||
'rememberPassword'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15, color: Colors.grey[700]),
|
||||
fontSize: 14, color: Colors.grey[700]),
|
||||
),
|
||||
const Spacer()
|
||||
]))
|
||||
|
@ -174,7 +174,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
),
|
||||
showCursor: !kDebugMode,
|
||||
cursorColor: Colors.black,
|
||||
textStyle: const TextStyle(fontSize: 25, height: 1.6),
|
||||
textStyle: const TextStyle(fontSize: 24, height: 1.6),
|
||||
backgroundColor: const Color(0xffF9F9F1),
|
||||
enableActiveFill: false,
|
||||
controller: enterPin,
|
||||
|
|
|
@ -91,7 +91,7 @@ Widget finishButton(BuildContext context) {
|
|||
child: Text(
|
||||
"accessMyChest".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
fontSize: 20, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -78,7 +78,7 @@ class _ChooseChestState extends State<OnboardingStepFive> {
|
|||
Text(
|
||||
'copy'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15, color: Colors.grey[50]),
|
||||
fontSize: 14, color: Colors.grey[50]),
|
||||
),
|
||||
const Spacer(),
|
||||
]),
|
||||
|
@ -122,7 +122,7 @@ class _ChooseChestState extends State<OnboardingStepFive> {
|
|||
child: Text("chooseAnotherMnemonic".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 22, fontWeight: FontWeight.w600))),
|
||||
fontSize: 21, fontWeight: FontWeight.w600))),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -195,12 +195,12 @@ Widget arrayCell(dataWord) {
|
|||
child: Column(children: <Widget>[
|
||||
Text(
|
||||
dataWord.split(':')[0],
|
||||
style: scaledTextStyle(fontSize: 12, color: const Color(0xff6b6b52)),
|
||||
style: scaledTextStyle(fontSize: 11, color: const Color(0xff6b6b52)),
|
||||
),
|
||||
Text(
|
||||
dataWord.split(':')[1],
|
||||
key: keyMnemonicWord(dataWord.split(':')[0]),
|
||||
style: scaledTextStyle(fontSize: 16, color: Colors.black),
|
||||
style: scaledTextStyle(fontSize: 15, color: Colors.black),
|
||||
),
|
||||
]),
|
||||
);
|
||||
|
@ -240,7 +240,7 @@ Widget nextButton(
|
|||
child: Text(
|
||||
text,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 22, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
fontSize: 21, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -60,7 +60,7 @@ class OnboardingStepSix extends StatelessWidget {
|
|||
Text('${generateWalletProvider.nbrWord + 1}',
|
||||
key: keyAskedWord,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: orangeC,
|
||||
fontWeight: FontWeight.w500)),
|
||||
if (isTall) ScaledSizedBox(height: 5),
|
||||
|
@ -86,7 +86,7 @@ class OnboardingStepSix extends StatelessWidget {
|
|||
textAlign: TextAlign.center,
|
||||
decoration: InputDecoration(
|
||||
labelStyle: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
color: Colors.grey[500],
|
||||
fontWeight: FontWeight.w500),
|
||||
labelText: generateWalletProvider.isAskedWordValid
|
||||
|
@ -97,7 +97,7 @@ class OnboardingStepSix extends StatelessWidget {
|
|||
contentPadding: const EdgeInsets.all(10),
|
||||
),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 26,
|
||||
fontSize: 25,
|
||||
color: generateWalletProvider.askedWordColor,
|
||||
fontWeight: FontWeight.w500))),
|
||||
Visibility(
|
||||
|
@ -159,7 +159,7 @@ Widget nextButton(BuildContext context, String text, nextScreen, bool isFast) {
|
|||
child: Text(
|
||||
text,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 22, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
fontSize: 21, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -52,7 +52,7 @@ class OnboardingStepNine extends StatelessWidget {
|
|||
decoration: const InputDecoration(),
|
||||
style: scaledTextStyle(
|
||||
letterSpacing: 5,
|
||||
fontSize: 33,
|
||||
fontSize: 32,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.bold)),
|
||||
IconButton(
|
||||
|
@ -68,7 +68,7 @@ class OnboardingStepNine extends StatelessWidget {
|
|||
Text(
|
||||
'Pendant la phase de test de Ğecko,\nles codes secrets\nsont systématiquement AAAAA.'
|
||||
.tr(),
|
||||
style: scaledTextStyle(color: Colors.grey[700], fontSize: 14),
|
||||
style: scaledTextStyle(color: Colors.grey[700], fontSize: 13),
|
||||
textAlign: TextAlign.center),
|
||||
Expanded(
|
||||
child: Align(
|
||||
|
@ -89,7 +89,7 @@ class OnboardingStepNine extends StatelessWidget {
|
|||
},
|
||||
child: Text("chooseAnotherPassword".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 22,
|
||||
fontSize: 21,
|
||||
fontWeight: FontWeight.w600))),
|
||||
))),
|
||||
ScaledSizedBox(height: 20),
|
||||
|
|
|
@ -63,7 +63,7 @@ class _QrCodeFullscreenState extends State<QrCodeFullscreen> {
|
|||
}),
|
||||
title: Text(
|
||||
'QR Code de ${getShortPubkey(widget.address)}',
|
||||
style: scaledTextStyle(color: orangeC, fontSize: 18),
|
||||
style: scaledTextStyle(color: orangeC, fontSize: 17),
|
||||
)),
|
||||
body: SafeArea(
|
||||
child: SizedBox.expand(
|
||||
|
|
|
@ -148,7 +148,7 @@ class _SearchScreenState extends State<SearchScreen> {
|
|||
contentPadding: const EdgeInsets.all(13),
|
||||
),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
|
@ -193,7 +193,7 @@ class _SearchScreenState extends State<SearchScreen> {
|
|||
: 'search'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.white),
|
||||
),
|
||||
|
|
|
@ -41,12 +41,12 @@ class SearchResultScreen extends StatelessWidget {
|
|||
Text(
|
||||
"resultsFor".tr(),
|
||||
style: scaledTextStyle(
|
||||
color: Colors.grey[600], fontSize: 16),
|
||||
color: Colors.grey[600], fontSize: 15),
|
||||
),
|
||||
Text(
|
||||
'"${searchProvider.searchController.text}"',
|
||||
style: scaledTextStyle(
|
||||
fontStyle: FontStyle.italic, fontSize: 18),
|
||||
fontStyle: FontStyle.italic, fontSize: 17),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
@ -54,7 +54,7 @@ class SearchResultScreen extends StatelessWidget {
|
|||
// ScaledSizedBox(height: 40),
|
||||
// Text(
|
||||
// 'Dans mes contacts'.tr(args: [currencyName]),
|
||||
// style: scaledTextStyle(fontSize: 20),
|
||||
// style: scaledTextStyle(fontSize: 19),
|
||||
// ),
|
||||
// ContactsList(
|
||||
// myContacts: myContacts,
|
||||
|
@ -64,7 +64,7 @@ class SearchResultScreen extends StatelessWidget {
|
|||
ScaledSizedBox(height: 22),
|
||||
Text(
|
||||
'inBlockchainResult'.tr(args: [currencyName]),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
ScaledSizedBox(height: 13),
|
||||
SearchResult(
|
||||
|
|
|
@ -27,7 +27,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
ScaledSizedBox(height: 30),
|
||||
Text(
|
||||
'networkSettings'.tr(),
|
||||
style: scaledTextStyle(color: Colors.grey[500]!, fontSize: 19),
|
||||
style: scaledTextStyle(color: Colors.grey[500]!, fontSize: 18),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
duniterEndpointSelection(context),
|
||||
|
@ -36,7 +36,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
ScaledSizedBox(height: 35),
|
||||
Text(
|
||||
'displaySettings'.tr(),
|
||||
style: scaledTextStyle(color: Colors.grey[500]!, fontSize: 19),
|
||||
style: scaledTextStyle(color: Colors.grey[500]!, fontSize: 18),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
chooseCurrencyUnit(context),
|
||||
|
@ -56,7 +56,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: Text(
|
||||
'forgetAllMyChests'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: const Color(0xffD80000),
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
|
@ -83,7 +83,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: Row(
|
||||
children: [
|
||||
ScaledSizedBox(width: 12),
|
||||
Text('showUdAmounts'.tr(), style: scaledTextStyle(fontSize: 15)),
|
||||
Text('showUdAmounts'.tr(), style: scaledTextStyle(fontSize: 14)),
|
||||
const Spacer(),
|
||||
Consumer<HomeProvider>(builder: (context, homeProvider, _) {
|
||||
final bool isUdUnit = configBox.get('isUdUnit') ?? false;
|
||||
|
@ -141,7 +141,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
width: 55,
|
||||
child: Text(
|
||||
'currencyNode'.tr(),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
|
@ -161,7 +161,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
return DropdownButtonHideUnderline(
|
||||
key: keySelectDuniterNodeDropDown,
|
||||
child: DropdownButton(
|
||||
style: scaledTextStyle(fontSize: 15, color: Colors.black),
|
||||
style: scaledTextStyle(fontSize: 14, color: Colors.black),
|
||||
value: selectedDuniterEndpoint,
|
||||
icon: const Icon(Icons.keyboard_arrow_down),
|
||||
items: duniterBootstrapNodes
|
||||
|
@ -229,7 +229,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
key: keyCustomDuniterEndpoint,
|
||||
controller: endpointController,
|
||||
autocorrect: false,
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -247,7 +247,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: Text(
|
||||
sub.getConnectedEndpoint() ?? "anAutoNodeChoosed".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15,
|
||||
fontSize: 14,
|
||||
fontStyle: FontStyle.italic,
|
||||
color: Colors.grey[700]!),
|
||||
),
|
||||
|
@ -258,7 +258,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
'blockN'.tr(args: [
|
||||
sub.blocNumber.toString()
|
||||
]), //'bloc N°${sub.blocNumber}',
|
||||
style: scaledTextStyle(fontSize: 14, color: Colors.grey[700]),
|
||||
style: scaledTextStyle(fontSize: 13, color: Colors.grey[700]),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
@ -293,7 +293,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
ScaledSizedBox(width: 5),
|
||||
ScaledSizedBox(
|
||||
width: 55,
|
||||
child: Text('Indexer', style: scaledTextStyle(fontSize: 15)),
|
||||
child: Text('Indexer', style: scaledTextStyle(fontSize: 14)),
|
||||
),
|
||||
const Spacer(),
|
||||
Icon(indexerEndpoint != '' ? Icons.check : Icons.close),
|
||||
|
@ -303,7 +303,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: Consumer<SettingsProvider>(builder: (context, set, _) {
|
||||
return DropdownButtonHideUnderline(
|
||||
child: DropdownButton(
|
||||
style: scaledTextStyle(fontSize: 15, color: Colors.black),
|
||||
style: scaledTextStyle(fontSize: 14, color: Colors.black),
|
||||
value: selectedIndexerEndpoint,
|
||||
icon: const Icon(Icons.keyboard_arrow_down),
|
||||
items:
|
||||
|
@ -366,7 +366,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: TextField(
|
||||
controller: indexerEndpointController,
|
||||
autocorrect: false,
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -381,7 +381,7 @@ class SettingsScreen extends StatelessWidget {
|
|||
child: Text(
|
||||
sub.getConnectedEndpoint() ?? "anAutoNodeChoosed".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15,
|
||||
fontSize: 14,
|
||||
fontStyle: FontStyle.italic,
|
||||
color: Colors.grey[700]),
|
||||
),
|
||||
|
|
|
@ -112,7 +112,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
|
|||
Text(
|
||||
resultText,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
@ -132,7 +132,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
|
|||
'extrinsicInProgress'.tr(args: [
|
||||
actionMap[widget.transType] ?? 'strangeTransaction'.tr()
|
||||
]),
|
||||
style: scaledTextStyle(fontSize: 20),
|
||||
style: scaledTextStyle(fontSize: 19),
|
||||
)
|
||||
])),
|
||||
body: SafeArea(
|
||||
|
@ -159,19 +159,19 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
|
|||
: '$amount $currencyName',
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w500),
|
||||
fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
if (widget.transType == 'pay') ScaledSizedBox(height: 10),
|
||||
Text(
|
||||
'fromMinus'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
Text(
|
||||
fromAddressFormat,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w500),
|
||||
fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
Visibility(
|
||||
visible: fromAddressFormat != toAddressFormat,
|
||||
|
@ -181,13 +181,13 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
|
|||
Text(
|
||||
'toMinus'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
Text(
|
||||
toUsernameFormat,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w500),
|
||||
fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -217,7 +217,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
|
|||
child: Text(
|
||||
'close'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19, fontWeight: FontWeight.w600),
|
||||
fontSize: 18, fontWeight: FontWeight.w600),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -104,7 +104,7 @@ class WalletViewScreen extends StatelessWidget {
|
|||
duniterIndexer.walletNameIndexer[walletProfile.address] ??
|
||||
'?'
|
||||
]),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: const GeckoBottomAppBar(),
|
||||
|
|
|
@ -18,14 +18,14 @@ class GeckoStyles {
|
|||
|
||||
TextStyle error500(List<String> pars) {
|
||||
return const TextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: Colors.redAccent,
|
||||
fontWeight: FontWeight.w500,
|
||||
);
|
||||
}
|
||||
|
||||
TextStyle error() {
|
||||
return const TextStyle(fontSize: 20, color: Colors.redAccent);
|
||||
return const TextStyle(fontSize: 19, color: Colors.redAccent);
|
||||
}
|
||||
|
||||
TextStyle builder(Map<String, dynamic> pars) {
|
||||
|
|
|
@ -52,7 +52,7 @@ class AddNewDerivationButton extends StatelessWidget {
|
|||
: Text(
|
||||
'+',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 110,
|
||||
fontSize: 100,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: const Color(0xFFFCB437)),
|
||||
)),
|
||||
|
|
|
@ -41,7 +41,7 @@ class ChestOptionsButtons extends StatelessWidget {
|
|||
label: Text(
|
||||
" ${"manageChest".tr()}",
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: const Color(0xff8a3c0f),
|
||||
),
|
||||
|
@ -72,7 +72,7 @@ class ChestOptionsButtons extends StatelessWidget {
|
|||
child: Center(
|
||||
child: Text('importG1v1'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: Colors.blue[900],
|
||||
fontWeight: FontWeight.w500))),
|
||||
),
|
||||
|
@ -96,7 +96,7 @@ class ChestOptionsButtons extends StatelessWidget {
|
|||
// child: Center(
|
||||
// child: Text('changeChest'.tr(),
|
||||
// style: const scaledTextStyle(
|
||||
// fontSize: 20,
|
||||
// fontSize: 19,
|
||||
// color: Colors.grey, //orangeC
|
||||
// fontWeight: FontWeight.w500))),
|
||||
// ),
|
||||
|
|
|
@ -65,7 +65,7 @@ class HomeButtons extends StatelessWidget {
|
|||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 13.5,
|
||||
fontSize: 12.5,
|
||||
fontWeight: FontWeight.w500),
|
||||
)
|
||||
]),
|
||||
|
@ -120,7 +120,7 @@ class HomeButtons extends StatelessWidget {
|
|||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 13.5,
|
||||
fontSize: 12.5,
|
||||
fontWeight: FontWeight.w500),
|
||||
)
|
||||
])
|
||||
|
@ -160,7 +160,7 @@ class HomeButtons extends StatelessWidget {
|
|||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 13.5,
|
||||
fontSize: 12.5,
|
||||
fontWeight: FontWeight.w500),
|
||||
)
|
||||
])
|
||||
|
|
|
@ -36,7 +36,7 @@ class ManageMembershipButton extends StatelessWidget {
|
|||
height: scaleSize(42),
|
||||
),
|
||||
ScaledSizedBox(width: 20),
|
||||
Text('manageMembership'.tr(), style: scaledTextStyle(fontSize: 18)),
|
||||
Text('manageMembership'.tr(), style: scaledTextStyle(fontSize: 17)),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -34,25 +34,25 @@ class CertTile extends StatelessWidget {
|
|||
padding: const EdgeInsets.only(bottom: 2),
|
||||
child: Text(
|
||||
repository['name'],
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
),
|
||||
subtitle: RichText(
|
||||
text: TextSpan(
|
||||
style: scaledTextStyle(
|
||||
fontSize: 15,
|
||||
fontSize: 14,
|
||||
color: Colors.grey[700],
|
||||
),
|
||||
children: <TextSpan>[
|
||||
TextSpan(
|
||||
text: repository['date'],
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
style: scaledTextStyle(fontSize: 14),
|
||||
),
|
||||
if (repository[2] != '')
|
||||
TextSpan(
|
||||
text: ' · ',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
color: Colors.grey[550],
|
||||
),
|
||||
),
|
||||
|
@ -62,7 +62,7 @@ class CertTile extends StatelessWidget {
|
|||
fontStyle: FontStyle.italic,
|
||||
fontFamily: 'Monospace',
|
||||
color: Colors.grey[600],
|
||||
fontSize: 15),
|
||||
fontSize: 14),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -14,7 +14,7 @@ class CertsCounter extends StatelessWidget {
|
|||
return Consumer<SubstrateSdk>(builder: (context, sub, _) {
|
||||
return Text(
|
||||
'(${sub.certsCounterCache[address]![isSent ? 1 : 0]})',
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ class CertsList extends StatelessWidget {
|
|||
Text(
|
||||
"noNetworkNoHistory".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
)
|
||||
]);
|
||||
} else if (result.data?['certConnection']['edges']?.isEmpty) {
|
||||
|
@ -67,7 +67,7 @@ class CertsList extends StatelessWidget {
|
|||
ScaledSizedBox(height: 50),
|
||||
Text(
|
||||
"noDataToDisplay".tr(),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ class CertsList extends StatelessWidget {
|
|||
ScaledSizedBox(height: 50),
|
||||
Text(
|
||||
"noTransactionToDisplay".tr(),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
)
|
||||
])
|
||||
: Column(children: <Widget>[
|
||||
|
|
|
@ -14,7 +14,7 @@ Future<bool?> confirmPopup(BuildContext context, String title) async {
|
|||
content: Text(
|
||||
title,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w500),
|
||||
style: scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||
),
|
||||
actions: <Widget>[
|
||||
Row(
|
||||
|
@ -25,7 +25,7 @@ Future<bool?> confirmPopup(BuildContext context, String title) async {
|
|||
child: Text(
|
||||
"yes".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
color: const Color(0xffD80000),
|
||||
),
|
||||
),
|
||||
|
@ -38,7 +38,7 @@ Future<bool?> confirmPopup(BuildContext context, String title) async {
|
|||
child: Text(
|
||||
"no".tr(),
|
||||
style:
|
||||
scaledTextStyle(fontSize: 19, color: Colors.blueAccent),
|
||||
scaledTextStyle(fontSize: 18, color: Colors.blueAccent),
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.pop(context, false);
|
||||
|
@ -70,35 +70,35 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
|
|||
question1,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w400),
|
||||
scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w400),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
Text(
|
||||
username,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 22, fontWeight: FontWeight.w500),
|
||||
scaledTextStyle(fontSize: 21, fontWeight: FontWeight.w500),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
Text(
|
||||
question2,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w400),
|
||||
scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w400),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
Text(
|
||||
address,
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w500),
|
||||
scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||
),
|
||||
ScaledSizedBox(height: 20),
|
||||
Text(
|
||||
'?',
|
||||
textAlign: TextAlign.center,
|
||||
style:
|
||||
scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w400),
|
||||
scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w400),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -112,7 +112,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
|
|||
child: Text(
|
||||
"yes".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
color: const Color(0xffD80000),
|
||||
),
|
||||
),
|
||||
|
@ -124,7 +124,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
|
|||
TextButton(
|
||||
child: Text(
|
||||
"no".tr(),
|
||||
style: scaledTextStyle(fontSize: 19),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.pop(context, false);
|
||||
|
@ -149,7 +149,7 @@ Future<void> infoPopup(BuildContext context, String title) async {
|
|||
content: Text(
|
||||
title,
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 17, fontWeight: FontWeight.w500),
|
||||
style: scaledTextStyle(fontSize: 16, fontWeight: FontWeight.w500),
|
||||
),
|
||||
actions: <Widget>[
|
||||
Row(
|
||||
|
@ -162,7 +162,7 @@ Future<void> infoPopup(BuildContext context, String title) async {
|
|||
child: Text(
|
||||
"gotit".tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19,
|
||||
fontSize: 18,
|
||||
color: const Color(0xffD80000),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -35,7 +35,7 @@ class NextButton extends StatelessWidget {
|
|||
child: Text(
|
||||
text,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 23, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
fontSize: 22, fontWeight: FontWeight.w600, color: Colors.white),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -13,7 +13,7 @@ class GeckoAppBar extends StatelessWidget implements PreferredSizeWidget {
|
|||
titleSpacing: 10,
|
||||
title: Text(
|
||||
text,
|
||||
style: scaledTextStyle(fontWeight: FontWeight.w600, fontSize: 18),
|
||||
style: scaledTextStyle(fontWeight: FontWeight.w600, fontSize: 17),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ class ContactsList extends StatelessWidget {
|
|||
title: Row(children: <Widget>[
|
||||
Text(getShortPubkey(g1Wallet.address),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontFamily: 'Monospace',
|
||||
fontWeight: FontWeight.w500),
|
||||
textAlign: TextAlign.center),
|
||||
|
|
|
@ -29,7 +29,7 @@ class DragWalletsInfo extends StatelessWidget {
|
|||
final toName =
|
||||
duniterIndexer.walletNameIndexer[lastFlyBy.address] ?? lastFlyBy.name;
|
||||
final mdStyle = MarkdownStyleSheet(
|
||||
p: scaledTextStyle(fontSize: 16, color: Colors.black, letterSpacing: 0.3),
|
||||
p: scaledTextStyle(fontSize: 15, color: Colors.black, letterSpacing: 0.3),
|
||||
textAlign: WrapAlignment.spaceBetween,
|
||||
);
|
||||
|
||||
|
@ -43,7 +43,7 @@ class DragWalletsInfo extends StatelessWidget {
|
|||
ScaledSizedBox(height: 2),
|
||||
Text(
|
||||
'${'executeATransfer'.tr()}:',
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
MarkdownBody(
|
||||
data: '${'from'.tr(args: [''])} **$fromName**',
|
||||
|
@ -51,7 +51,7 @@ class DragWalletsInfo extends StatelessWidget {
|
|||
if (isSameAddress)
|
||||
Text(
|
||||
'chooseATargetWallet'.tr(),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
if (!isSameAddress)
|
||||
MarkdownBody(
|
||||
|
|
|
@ -20,7 +20,7 @@ class MainDrawer extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final listStyle = scaledTextStyle(fontSize: 15);
|
||||
final listStyle = scaledTextStyle(fontSize: 14);
|
||||
|
||||
return SizedBox(
|
||||
width: MediaQuery.of(context).size.width * 0.67,
|
||||
|
@ -36,7 +36,7 @@ class MainDrawer extends StatelessWidget {
|
|||
child: Column(children: <Widget>[
|
||||
Image(
|
||||
image: const AssetImage('assets/icon/gecko_final.png'),
|
||||
height: scaleSize(125)),
|
||||
height: scaleSize(118)),
|
||||
]),
|
||||
),
|
||||
ScaledSizedBox(height: scaleSize(10)),
|
||||
|
@ -121,7 +121,7 @@ class MainDrawer extends StatelessWidget {
|
|||
child: Opacity(
|
||||
opacity: 0.8,
|
||||
child: Text('Ğecko v$appVersion',
|
||||
style: scaledTextStyle(fontSize: 13)),
|
||||
style: scaledTextStyle(fontSize: 12)),
|
||||
),
|
||||
),
|
||||
onTap: () {
|
||||
|
|
|
@ -70,7 +70,7 @@ class HeaderProfile extends StatelessWidget {
|
|||
child: Text(
|
||||
getShortPubkey(address),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 23,
|
||||
fontSize: 22,
|
||||
fontFamily: 'Monospace',
|
||||
fontWeight: FontWeight.w900,
|
||||
),
|
||||
|
|
|
@ -31,7 +31,7 @@ class HistoryQuery extends StatelessWidget {
|
|||
Text(
|
||||
"noNetworkNoHistory".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ class HistoryQuery extends StatelessWidget {
|
|||
Text(
|
||||
"noNetworkNoHistory".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
@ -100,7 +100,7 @@ class HistoryQuery extends StatelessWidget {
|
|||
ScaledSizedBox(height: 50),
|
||||
Text(
|
||||
"noDataToDisplay".tr(),
|
||||
style: scaledTextStyle(fontSize: 18),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
@ -35,7 +35,7 @@ class HistoryView extends StatelessWidget {
|
|||
ScaledSizedBox(height: 50),
|
||||
Text(
|
||||
"noTransactionToDisplay".tr(),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
)
|
||||
])
|
||||
: Column(children: <Widget>[
|
||||
|
@ -65,7 +65,7 @@ class HistoryView extends StatelessWidget {
|
|||
Text(
|
||||
'blockchainStart'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: Colors.blueAccent,
|
||||
fontWeight: FontWeight.w400),
|
||||
),
|
||||
|
@ -84,7 +84,7 @@ class HistoryView extends StatelessWidget {
|
|||
child: Text(
|
||||
answer['dateDelimiter'],
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: orangeC,
|
||||
fontWeight: FontWeight.w300),
|
||||
),
|
||||
|
@ -132,7 +132,7 @@ class HistoryView extends StatelessWidget {
|
|||
Text(
|
||||
'identityMigrated'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: Colors.green[700],
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
|
@ -140,7 +140,7 @@ class HistoryView extends StatelessWidget {
|
|||
'from'.tr(args: [
|
||||
' ${getShortPubkey(sub.oldOwnerKeys[address]![0])}'
|
||||
]),
|
||||
style: scaledTextStyle(fontSize: 17),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
),
|
||||
]),
|
||||
Icon(
|
||||
|
@ -163,7 +163,7 @@ class HistoryView extends StatelessWidget {
|
|||
Text("historyStart".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20, fontWeight: FontWeight.w300)),
|
||||
fontSize: 19, fontWeight: FontWeight.w300)),
|
||||
Icon(Icons.blur_on_outlined, size: scaleSize(31)),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -143,7 +143,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
Text(
|
||||
'executeATransfer'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 19, fontWeight: FontWeight.w700),
|
||||
fontSize: 18, fontWeight: FontWeight.w700),
|
||||
),
|
||||
IconButton(
|
||||
key: keyPopButton,
|
||||
|
@ -158,7 +158,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
Text(
|
||||
'from'.tr(args: ['']),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.grey[600]),
|
||||
),
|
||||
|
@ -252,7 +252,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
Text(
|
||||
'to'.tr(args: ['']),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.grey[600]),
|
||||
),
|
||||
|
@ -260,7 +260,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
Text(
|
||||
username ?? getShortPubkey(toAddress),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
|
@ -272,7 +272,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
Text(
|
||||
'amount'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.grey[600]),
|
||||
),
|
||||
|
@ -289,7 +289,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
args: [fees.toString(), currencyName]),
|
||||
style: scaledTextStyle(
|
||||
color: orangeC,
|
||||
fontSize: 14,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
|
@ -349,7 +349,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
contentPadding: EdgeInsets.all(scaleSize(9)),
|
||||
),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 25,
|
||||
fontSize: 24,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
|
@ -375,7 +375,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
|
|||
child: Text(
|
||||
'executeTheTransfer'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18, fontWeight: FontWeight.w600),
|
||||
fontSize: 17, fontWeight: FontWeight.w600),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -404,13 +404,13 @@ Future<void> infoFeesPopup(BuildContext context) async {
|
|||
Text(
|
||||
'feesExplanation'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 20, fontWeight: FontWeight.w500),
|
||||
style: scaledTextStyle(fontSize: 19, fontWeight: FontWeight.w500),
|
||||
),
|
||||
ScaledSizedBox(height: 30),
|
||||
Text(
|
||||
'feesExplanationDetails'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(fontSize: 18, fontWeight: FontWeight.w300),
|
||||
style: scaledTextStyle(fontSize: 17, fontWeight: FontWeight.w300),
|
||||
),
|
||||
ScaledSizedBox(height: 5),
|
||||
InkWell(
|
||||
|
@ -429,7 +429,7 @@ Future<void> infoFeesPopup(BuildContext context) async {
|
|||
'moreInfo'.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w300,
|
||||
color: Colors.blueAccent,
|
||||
// decoration: TextDecoration.underline,
|
||||
|
@ -450,7 +450,7 @@ Future<void> infoFeesPopup(BuildContext context) async {
|
|||
child: Text(
|
||||
'gotit'.tr(),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
color: const Color(0xffD80000),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -25,14 +25,14 @@ class ScanDerivationsInfo extends StatelessWidget {
|
|||
ScanDerivationsStatus.rootScanning)
|
||||
Text(
|
||||
'scanRootDerivationInProgress'.tr(),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
if (generateWalletProvider.scanStatus ==
|
||||
ScanDerivationsStatus.scanning)
|
||||
Text(
|
||||
'derivationsScanProgress'
|
||||
.tr(args: [generateWalletProvider.numberScan.toString()]),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
if (generateWalletProvider.scanStatus ==
|
||||
ScanDerivationsStatus.import)
|
||||
|
@ -41,7 +41,7 @@ class ScanDerivationsInfo extends StatelessWidget {
|
|||
'${generateWalletProvider.scanedWalletNumber}',
|
||||
'${generateWalletProvider.scanedValidWalletNumber}'
|
||||
]),
|
||||
style: scaledTextStyle(fontSize: 16),
|
||||
style: scaledTextStyle(fontSize: 15),
|
||||
),
|
||||
ScaledSizedBox(width: 10),
|
||||
ScaledSizedBox(
|
||||
|
|
|
@ -78,7 +78,7 @@ class SearchIdentityQuery extends StatelessWidget {
|
|||
title: Row(children: <Widget>[
|
||||
Text(getShortPubkey(profile['node']['accountId']),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontFamily: 'Monospace',
|
||||
fontWeight: FontWeight.w500),
|
||||
textAlign: TextAlign.center),
|
||||
|
@ -100,7 +100,7 @@ class SearchIdentityQuery extends StatelessWidget {
|
|||
subtitle: Row(children: <Widget>[
|
||||
Text(profile['node']['name'] ?? '',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontWeight: FontWeight.w500),
|
||||
fontSize: 16, fontWeight: FontWeight.w500),
|
||||
textAlign: TextAlign.center),
|
||||
]),
|
||||
dense: !isTall,
|
||||
|
|
|
@ -65,7 +65,7 @@ class SearchResult extends StatelessWidget {
|
|||
title: Row(children: <Widget>[
|
||||
Text(getShortPubkey(g1Wallet.address),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 18,
|
||||
fontSize: 17,
|
||||
fontFamily: 'Monospace',
|
||||
fontWeight: FontWeight.w500),
|
||||
textAlign: TextAlign.center),
|
||||
|
|
|
@ -113,7 +113,7 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> {
|
|||
Text(
|
||||
'Transaction en cours',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: 19,
|
||||
color: Colors.blueAccent,
|
||||
fontWeight: FontWeight.w400),
|
||||
),
|
||||
|
@ -126,7 +126,7 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> {
|
|||
padding: const EdgeInsets.only(bottom: 5),
|
||||
child: Text(getShortPubkey(txContent.to),
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17, fontFamily: 'Monospace')),
|
||||
fontSize: 16, fontFamily: 'Monospace')),
|
||||
),
|
||||
subtitle: Row(
|
||||
children: [
|
||||
|
@ -142,14 +142,14 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> {
|
|||
.textTheme
|
||||
.titleLarge!
|
||||
.color,
|
||||
fontSize: 14),
|
||||
fontSize: 13),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
trailing: Text("$finalAmount $currencyName",
|
||||
style: scaledTextStyle(
|
||||
fontSize: 16,
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.blue[700]),
|
||||
textAlign: TextAlign.justify),
|
||||
|
|
|
@ -43,21 +43,21 @@ class TransactionTile extends StatelessWidget {
|
|||
title: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 5),
|
||||
child: Text(getShortPubkey(repository[1]),
|
||||
style: scaledTextStyle(fontSize: 17, fontFamily: 'Monospace')),
|
||||
style: scaledTextStyle(fontSize: 16, fontFamily: 'Monospace')),
|
||||
),
|
||||
subtitle: RichText(
|
||||
text: TextSpan(
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
color: Colors.grey[700],
|
||||
),
|
||||
children: <TextSpan>[
|
||||
TextSpan(text: dateForm, style: scaledTextStyle(fontSize: 16)),
|
||||
TextSpan(text: dateForm, style: scaledTextStyle(fontSize: 15)),
|
||||
if (username != null)
|
||||
TextSpan(
|
||||
text: ' · ',
|
||||
style: scaledTextStyle(
|
||||
fontSize: 21,
|
||||
fontSize: 20,
|
||||
color: Colors.grey[550],
|
||||
),
|
||||
),
|
||||
|
@ -66,14 +66,14 @@ class TransactionTile extends StatelessWidget {
|
|||
style: scaledTextStyle(
|
||||
fontStyle: FontStyle.italic,
|
||||
color: Colors.grey[600],
|
||||
fontSize: 16),
|
||||
fontSize: 15),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
trailing: Text(finalAmount,
|
||||
style: scaledTextStyle(
|
||||
fontSize: 17,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: repository[4] == 'RECEIVED'
|
||||
? Colors.green[700]
|
||||
|
|
|
@ -2,7 +2,7 @@ name: gecko
|
|||
description: Pay with G1.
|
||||
publish_to: "none"
|
||||
|
||||
version: 0.1.7+75
|
||||
version: 0.1.7+76
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Recherche tous les fichiers .dart dans le dossier lib et ses sous-dossiers
|
||||
dart_files=$(find lib -type f -name "*.dart")
|
||||
|
||||
# Boucle sur les tailles de police de 10 à 35
|
||||
for size in {10..35}; do
|
||||
# Calcule la nouvelle taille (décrémentée de 1)
|
||||
new_size=$((size - 1))
|
||||
|
||||
# Utilise sed pour remplacer la taille actuelle par la nouvelle taille
|
||||
sed -i "s/fontSize: $size/fontSize: $new_size/g" $dart_files
|
||||
done
|
||||
|
||||
echo "Les tailles de police ont été mises à jour avec succès dans les fichiers .dart du dossier lib et ses sous-dossiers."
|
Loading…
Reference in New Issue