feat : add counter list

This commit is contained in:
2025-05-27 12:21:18 +03:30
parent 04b8fe593f
commit a3327dd708

View File

@@ -38,7 +38,7 @@ class RequestsPage extends GetView<RequestsLogic> {
shrinkWrap: true,
itemCount: 10,
physics: BouncingScrollPhysics(),
padding: EdgeInsets.symmetric(horizontal: 20, vertical: controller.isFilterShowed.value ? 5 : 10),
padding: EdgeInsets.symmetric(horizontal: 20, vertical: 50),
separatorBuilder: (context, index) => SizedBox(height: 6),
itemBuilder: (context, index) {
return GestureDetector(
@@ -57,7 +57,9 @@ class RequestsPage extends GetView<RequestsLogic> {
: AppColor.blueLight,
borderRadius: BorderRadius.circular(8),
),
child: Row(
child: Stack(
children: [
Row(
children: [
SizedBox(width: 5),
Expanded(
@@ -161,6 +163,21 @@ class RequestsPage extends GetView<RequestsLogic> {
),
],
),
Positioned(
top: 5,
right: 10,
child:Container(
padding: EdgeInsets.all(4),
alignment: AlignmentDirectional.center,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.black54,),
child: Text((index*20).toString(),style: AppFonts.yekan12.copyWith(color: Colors.white),),
),
),
],
),
),
);
},