fix : ui bug
This commit is contained in:
@@ -10,3 +10,22 @@ Widget buildPageRoute(List<String> route) {
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget buildContainerPageRoute(List<String> route) {
|
||||
return Container(
|
||||
height: 24.h,
|
||||
margin: EdgeInsets.symmetric(horizontal: 8.w,vertical: 4.h),
|
||||
decoration: BoxDecoration(color: Color(0xFFE3E3E3), borderRadius: BorderRadius.circular(2.r)),
|
||||
padding: EdgeInsets.symmetric(horizontal: 6.w),
|
||||
child: ListView.separated(
|
||||
scrollDirection: Axis.horizontal,
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
itemBuilder: (context, index) => Center(
|
||||
child: Text(route[index], style: AppFonts.yekan14.copyWith(color: AppColor.labelTextColor)),
|
||||
),
|
||||
separatorBuilder: (context, index) => Assets.vec.arrowLeftSvg.svg(height: 24.h,fit: BoxFit.fitHeight),
|
||||
itemCount: route.length,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user