.
This commit is contained in:
@@ -260,33 +260,34 @@ class _FullScreenFileViewerState extends State<FullScreenFileViewer> {
|
|||||||
}
|
}
|
||||||
return MIHBody(
|
return MIHBody(
|
||||||
borderOn: false,
|
borderOn: false,
|
||||||
bodyItems: [
|
bodyItems: [fileViewer],
|
||||||
Stack(
|
// [
|
||||||
children: [
|
// Stack(
|
||||||
Expanded(child: fileViewer),
|
// children: [
|
||||||
Positioned(
|
// Expanded(child: fileViewer),
|
||||||
bottom: 5,
|
// Positioned(
|
||||||
right: 5,
|
// bottom: 5,
|
||||||
width: 50,
|
// right: 5,
|
||||||
height: 50,
|
// width: 50,
|
||||||
child: IconButton.filled(
|
// height: 50,
|
||||||
iconSize: 35,
|
// child: IconButton.filled(
|
||||||
padding: const EdgeInsets.all(0),
|
// iconSize: 35,
|
||||||
onPressed: () {
|
// padding: const EdgeInsets.all(0),
|
||||||
html.window.open(
|
// onPressed: () {
|
||||||
widget.arguments.link,
|
// html.window.open(
|
||||||
// '${AppEnviroment.baseFileUrl}/mih/$filePath',
|
// widget.arguments.link,
|
||||||
'download');
|
// // '${AppEnviroment.baseFileUrl}/mih/$filePath',
|
||||||
},
|
// 'download');
|
||||||
icon: Icon(
|
// },
|
||||||
Icons.download,
|
// icon: Icon(
|
||||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
// Icons.download,
|
||||||
),
|
// color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
],
|
// ),
|
||||||
),
|
// ],
|
||||||
],
|
// ),
|
||||||
|
// ],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user