Text formatting

This commit is contained in:
poka 2021-11-21 02:52:01 +01:00
parent eceb2e3253
commit b24211e43d
3 changed files with 77 additions and 67 deletions

View File

@ -397,10 +397,13 @@ class HistoryScreen extends StatelessWidget with ChangeNotifier {
}, },
child: Padding( child: Padding(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
child: Text("PAYER", child: Text(
style: TextStyle( "PAYER",
fontSize: 25, color: Colors.grey[850]))), style: TextStyle(fontSize: 25, color: Colors.grey[850]),
)) ),
),
),
)
], ],
), ),
), ),

View File

@ -36,7 +36,6 @@ class UnlockingWallet extends StatelessWidget {
Provider.of<WalletOptionsProvider>(context); Provider.of<WalletOptionsProvider>(context);
int _pinLenght; int _pinLenght;
ChestData currentChest = chestBox.get(configBox.get('currentChest')); ChestData currentChest = chestBox.get(configBox.get('currentChest'));
if (currentChest.isCesium) { if (currentChest.isCesium) {
@ -53,7 +52,7 @@ class UnlockingWallet extends StatelessWidget {
child: Column(children: <Widget>[ child: Column(children: <Widget>[
Expanded( Expanded(
child: Column(children: <Widget>[ child: Column(children: <Widget>[
SizedBox(height: isTall ? 80 : 20), SizedBox(height: isTall ? 100 : 20),
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[ Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
currentChest.imageFile == null currentChest.imageFile == null
? Image.asset( ? Image.asset(

View File

@ -168,7 +168,9 @@ Widget sentanceArray(BuildContext context) {
arrayCell(formatedArray.data[10]), arrayCell(formatedArray.data[10]),
arrayCell(formatedArray.data[11]), arrayCell(formatedArray.data[11]),
]), ]),
]))); ]),
),
);
}); });
} }
@ -176,12 +178,18 @@ Widget arrayCell(dataWord) {
return SizedBox( return SizedBox(
width: 102, width: 102,
child: Column(children: <Widget>[ child: Column(children: <Widget>[
Text(dataWord.split(':')[0], style: const TextStyle(fontSize: 14)), Text(
dataWord.split(':')[0],
style: const TextStyle(fontSize: 14),
),
const SizedBox(height: 2), const SizedBox(height: 2),
Text(dataWord.split(':')[1], Text(
dataWord.split(':')[1],
key: Key('word${dataWord.split(':')[0]}'), key: Key('word${dataWord.split(':')[0]}'),
style: const TextStyle(fontSize: 19, color: Colors.black)), style: const TextStyle(fontSize: 19, color: Colors.black),
])); ),
]),
);
} }
// ignore: must_be_immutable // ignore: must_be_immutable