restore-button-fix | added padding to the title
Oleksandr Sobol committed
Mar 5, 2020 at 19:20 UTC
c233d380ab96215598ddfebf35c411fa77591afe
1 file changed
+10
-7
lib/src/screens/restore/widgets/restore_button.dart
+10
-7
@@ -58,13 +58,16 @@ class RestoreButton extends StatelessWidget {
58
),
59
Column(
60
children: <Widget>[
61
- AutoSizeText(
62
- title,
63
- textAlign: TextAlign.center,
64
- style: TextStyle(
65
- color: titleColor,
66
- fontWeight: FontWeight.bold),
67
- maxLines: 1,
61
+ Padding(
62
+ padding: EdgeInsets.only(left: 20, right: 20),
63
+ child: AutoSizeText(
64
+ title,
65
+ textAlign: TextAlign.center,
66
+ style: TextStyle(
67
+ color: titleColor,
68
+ fontWeight: FontWeight.bold),
69
+ maxLines: 1,
70
+ ),
71
),
72
Padding(
73
padding: EdgeInsets.only(left: 20, right: 20, top: 10),