mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-24 22:32:28 +00:00
fix pagination UI
This commit is contained in:
@ -66,11 +66,13 @@ class PaginationButtonsWidget extends StatelessWidget {
|
|||||||
height: 30,
|
height: 30,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: i == currentPage
|
color: i == currentPage
|
||||||
? ColorsManager.dialogBlueTitle
|
? ColorsManager.dialogBlueTitle
|
||||||
: Colors.grey[300],
|
: ColorsManager.whiteColors,
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
),
|
border: Border.all(
|
||||||
|
color: ColorsManager.lightGrayBorderColor,
|
||||||
|
)),
|
||||||
child: Text(
|
child: Text(
|
||||||
'$i',
|
'$i',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -134,11 +136,15 @@ class PaginationButtonsWidget extends StatelessWidget {
|
|||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
|
width: 30,
|
||||||
|
height: 30,
|
||||||
|
alignment: Alignment.center,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.grey[300],
|
color: ColorsManager.whiteColors,
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
),
|
border: Border.all(
|
||||||
|
color: ColorsManager.lightGrayBorderColor,
|
||||||
|
)),
|
||||||
child: Text(
|
child: Text(
|
||||||
label,
|
label,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
|
Reference in New Issue
Block a user