restore-button-fix | added padding to the title

This commit is contained in:
Oleksandr Sobol 2020-03-05 19:20:13 +02:00
parent 4890143b4e
commit c233d380ab

View file

@ -58,13 +58,16 @@ class RestoreButton extends StatelessWidget {
),
Column(
children: <Widget>[
AutoSizeText(
title,
textAlign: TextAlign.center,
style: TextStyle(
color: titleColor,
fontWeight: FontWeight.bold),
maxLines: 1,
Padding(
padding: EdgeInsets.only(left: 20, right: 20),
child: AutoSizeText(
title,
textAlign: TextAlign.center,
style: TextStyle(
color: titleColor,
fontWeight: FontWeight.bold),
maxLines: 1,
),
),
Padding(
padding: EdgeInsets.only(left: 20, right: 20, top: 10),