mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 04:44:43 +00:00
fix: Add padding to text
This commit is contained in:
parent
df01405cb8
commit
28985b0f52
1 changed files with 10 additions and 7 deletions
|
@ -43,13 +43,16 @@ class PreSeedPage extends BasePage {
|
||||||
constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height * 0.3),
|
constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height * 0.3),
|
||||||
child: AspectRatio(aspectRatio: 1, child: image),
|
child: AspectRatio(aspectRatio: 1, child: image),
|
||||||
),
|
),
|
||||||
Text(
|
Padding(
|
||||||
S.of(context).pre_seed_description(wordsCount.toString()),
|
padding: EdgeInsets.all(10),
|
||||||
textAlign: TextAlign.center,
|
child: Text(
|
||||||
style: TextStyle(
|
S.of(context).pre_seed_description(wordsCount.toString()),
|
||||||
fontSize: 14,
|
textAlign: TextAlign.center,
|
||||||
fontWeight: FontWeight.normal,
|
style: TextStyle(
|
||||||
color: Theme.of(context).extension<CakeTextTheme>()!.secondaryTextColor,
|
fontSize: 14,
|
||||||
|
fontWeight: FontWeight.normal,
|
||||||
|
color: Theme.of(context).extension<CakeTextTheme>()!.secondaryTextColor,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
PrimaryButton(
|
PrimaryButton(
|
||||||
|
|
Loading…
Reference in a new issue