feat : add counter list
This commit is contained in:
@@ -38,7 +38,7 @@ class RequestsPage extends GetView<RequestsLogic> {
|
|||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
itemCount: 10,
|
itemCount: 10,
|
||||||
physics: BouncingScrollPhysics(),
|
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),
|
separatorBuilder: (context, index) => SizedBox(height: 6),
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
@@ -57,7 +57,9 @@ class RequestsPage extends GetView<RequestsLogic> {
|
|||||||
: AppColor.blueLight,
|
: AppColor.blueLight,
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(width: 5),
|
SizedBox(width: 5),
|
||||||
Expanded(
|
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),),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user