showPhotosPublic method
void
showPhotosPublic(
- BuildContext context,
- AppModel app,
- List<
PublicMediumModel> media, - int initialPage,
override
Implementation
@override
void showPhotosPublic(BuildContext context, AppModel app,
List<PublicMediumModel> media, int initialPage) {
var photos = media
.where(
(memberMedium) => memberMedium.mediumType == PublicMediumType.photo)
.toList();
openFlexibleDialog(app, context, '${app.documentID}/_showphotosplatform',
includeHeading: true,
title: "Photos",
buttons: [
dialogButton(app, context,
label: 'Close', onPressed: () => Navigator.of(context).pop()),
],
widthFraction: .9,
child: AlbumSlider(
height: fullFullScreenHeight(context) * .7,
app: app,
slideImageProvider: PublicMediumSlideImageProvider(
ListHelper.getPublicMediumModelList(photos)),
initialPage: initialPage));
}