openSlidesViewer static method
Future<void>
openSlidesViewer({
- required BuildContext context,
- String? filePath,
- String? url,
- String? googleSlidesId,
- required SlidesSourceType sourceType,
- String? title,
- bool enableInteractions = true,
- bool presentationMode = false,
- int initialSlide = 1,
Implementation
static Future<void> openSlidesViewer({
required BuildContext context,
String? filePath,
String? url,
String? googleSlidesId,
required SlidesSourceType sourceType,
String? title,
bool enableNavigation = true,
bool enableInteractions = true,
bool presentationMode = false,
int initialSlide = 1,
}) async {
await Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => BoltSlidesViewer(
filePath: filePath,
url: url,
googleSlidesId: googleSlidesId,
sourceType: sourceType,
title: title,
enableNavigation: enableNavigation,
enableInteractions: enableInteractions,
presentationMode: presentationMode,
initialSlide: initialSlide,
),
),
);
}