feat : add counter list
This commit is contained in:
@@ -34,30 +34,32 @@ class RequestsPage extends GetView<RequestsLogic> {
|
|||||||
|
|
||||||
Expanded _buildListOfContent() {
|
Expanded _buildListOfContent() {
|
||||||
return Expanded(
|
return Expanded(
|
||||||
child: ListView.separated(
|
child: ListView.separated(
|
||||||
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(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(LiveStockRoutes.requestTagging);
|
Get.toNamed(LiveStockRoutes.requestTagging);
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
width: Get.width,
|
width: Get.width,
|
||||||
height: 75,
|
height: 75,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color:
|
color:
|
||||||
index < 3
|
index < 3
|
||||||
? AppColor.yellowNormal
|
? AppColor.yellowNormal
|
||||||
: index < 7
|
: index < 7
|
||||||
? AppColor.greenLightActive
|
? AppColor.greenLightActive
|
||||||
: 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,11 +163,26 @@ 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),),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Row _buildSearchAndFilter() {
|
Row _buildSearchAndFilter() {
|
||||||
|
|||||||
Reference in New Issue
Block a user