|
|
|
|
@ -44,7 +44,7 @@ class _WeeklyFragmentState extends State<WeeklyFragment> {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return SingleChildScrollView(
|
|
|
|
|
padding: const EdgeInsets.only(left: 16,right: 16),
|
|
|
|
|
padding: const EdgeInsets.only(left: 16, right: 16),
|
|
|
|
|
child: Consumer<AllRequestsProvider>(builder: (context, snapshot, _) {
|
|
|
|
|
return Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
@ -108,11 +108,11 @@ class _WeeklyFragmentState extends State<WeeklyFragment> {
|
|
|
|
|
return isServiceRequest
|
|
|
|
|
? ServiceRequestItemView(list[index], showShadow: false)
|
|
|
|
|
: isGasRefill
|
|
|
|
|
? GasRefillItemView(list[index])
|
|
|
|
|
? GasRefillItemView(list[index], showShadow: false)
|
|
|
|
|
: isPPMs
|
|
|
|
|
? PpmItemView(list[index])
|
|
|
|
|
? PpmItemView(list[index], showShadow: false)
|
|
|
|
|
: isAssetTransfer
|
|
|
|
|
? AssetItemView(list[index])
|
|
|
|
|
? AssetItemView(list[index], showShadow: false)
|
|
|
|
|
: Container(
|
|
|
|
|
height: 100,
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
|