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),
|
||||
Text(
|
||||
formattedCardNumber,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 25,
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@ class _MihCardDisplayState extends State<MihCardDisplay> {
|
|||
FittedBox(
|
||||
child: Text(
|
||||
widget.nickname,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 25,
|
||||
fontWeight: FontWeight.bold,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue