Align long card numbers to center
This commit is contained in:
parent
d4329a1013
commit
5b2f253f29
2 changed files with 2 additions and 0 deletions
|
|
@ -529,6 +529,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
||||||
// const SizedBox(height: 10),
|
// const SizedBox(height: 10),
|
||||||
Text(
|
Text(
|
||||||
formattedCardNumber,
|
formattedCardNumber,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
fontSize: 25,
|
fontSize: 25,
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,7 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
||||||
FittedBox(
|
FittedBox(
|
||||||
child: Text(
|
child: Text(
|
||||||
widget.nickname,
|
widget.nickname,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 25,
|
fontSize: 25,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue