showPhotos method
void
showPhotos(
- BuildContext context,
- AppModel app,
- List<
MemberMediumModel> media, - int initialPage,
override
Implementation
@override
void showPhotos(BuildContext context, AppModel app,
List<MemberMediumModel> media, int initialPage) {
var photos = media
.where((memberMedium) => memberMedium.mediumType == MediumType.photo)
.toList();
//title: "Photos",
//
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: MemberMediumSlideImageProvider(
ListHelper.getMemberMediumModelList(photos)),
initialPage: initialPage));
}