Align long card numbers to center
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user