my docs upload fix

development_haroon
haroon amjad 2 years ago
parent 0fd1c8c96b
commit 5098aa7f90

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

@ -75,8 +75,11 @@ class _MyDocumentsFragmentState extends State<MyDocumentsFragment> {
padding: const EdgeInsets.only(left: 21, right: 21, bottom: 21, top: 11),
itemBuilder: (cxt, index) {
return MyDocumentItem(documentfilteredList[index], getColorByDocumentStatus(documentfilteredList[index].dOCUMENTSTATUS!)).onPress(() {
Navigator.pushNamed(context, AppRoutes.addDynamicInput,
arguments: DynamicListViewParams(documentfilteredList[index].dOCUMENTTYPE!, documentfilteredList[index].fUNCTIONNAME!, selectedEmp: AppState().getUserName, popUntilRoute: AppRoutes.myDocuments));
Navigator.pushNamed(
context,
AppRoutes.addDynamicInput,
arguments: DynamicListViewParams(documentfilteredList[index].dOCUMENTTYPE!, documentfilteredList[index].fUNCTIONNAME!, selectedEmp: AppState().getUserName),
);
});
},
separatorBuilder: (cxt, index) => 12.height,
@ -107,7 +110,7 @@ class _MyDocumentsFragmentState extends State<MyDocumentsFragment> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
title.toText10(),
value.toText20(isBold: true, color: color),
value.toText18(isBold: true, color: color),
],
),
).onPress(() {

Loading…
Cancel
Save