showPhotosUrls method

  1. @override
void showPhotosUrls(
  1. BuildContext context,
  2. AppModel app,
  3. List<String> urls,
  4. int initialPage,
)
override

Implementation

@override
void showPhotosUrls(
    BuildContext context, AppModel app, List<String> urls, int initialPage) {
  openFlexibleDialog(app, context, '${app.documentID}/_showphotosurls',
      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: UrlSlideImageProvider(urls),
          initialPage: initialPage));
}