fix: Add padding to text

This commit is contained in:
Blazebrain 2023-10-03 09:13:53 +01:00
parent df01405cb8
commit 28985b0f52

View file

@ -43,7 +43,9 @@ 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(
padding: EdgeInsets.all(10),
child: Text(
S.of(context).pre_seed_description(wordsCount.toString()), S.of(context).pre_seed_description(wordsCount.toString()),
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
@ -52,6 +54,7 @@ class PreSeedPage extends BasePage {
color: Theme.of(context).extension<CakeTextTheme>()!.secondaryTextColor, color: Theme.of(context).extension<CakeTextTheme>()!.secondaryTextColor,
), ),
), ),
),
PrimaryButton( PrimaryButton(
onPressed: () => onPressed: () =>
Navigator.of(context).popAndPushNamed(Routes.seed, arguments: true), Navigator.of(context).popAndPushNamed(Routes.seed, arguments: true),