|
|
|
|
@ -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(() {
|
|
|
|
|
|