feat: responsive

This commit is contained in:
louis 2024-04-01 17:38:02 +08:00
parent 82285026fe
commit bb93b1ad63
1 changed files with 12 additions and 3 deletions

View File

@ -278,7 +278,10 @@ class SaleQuotationPage extends StatelessWidget {
alignment: Alignment.center,
width: quantityWidth,
child: Text(
'${controller.groups[index].items[i].quantity}'),
'${controller.groups[index].items[i].quantity}',
style: TextStyle(
fontSize: ScreenAdaper.height(25)),
),
),
groupIndex: index,
rowIndex: i,
@ -290,7 +293,10 @@ class SaleQuotationPage extends StatelessWidget {
alignment: Alignment.center,
width: unitPriceWidth,
child: Text(
'${controller.groups[index].items[i].cost}'),
'${controller.groups[index].items[i].cost}',
style: TextStyle(
fontSize: ScreenAdaper.height(25)),
),
),
groupIndex: index,
rowIndex: i,
@ -302,7 +308,10 @@ class SaleQuotationPage extends StatelessWidget {
alignment: Alignment.center,
width: amountWidth,
child: Text(
'${controller.groups[index].items[i].amount}'),
'${controller.groups[index].items[i].amount}',
style: TextStyle(
fontSize: ScreenAdaper.height(25)),
),
),
groupIndex: index,
rowIndex: i,