open static method

Future<void> open({
  1. String? base64Pdf,
  2. Uint8List? bytes,
  3. String? url,
  4. String? filePath,
  5. String? asset,
  6. String password = "",
  7. int initialPage = 0,
})

Implementation

static Future<void> open({String? base64Pdf, Uint8List? bytes, String? url, String? filePath, String? asset, String password = "", int initialPage = 0}) => UNavigator.push<void>(
  UScaffold(
    body: UPdfViewer(base64Pdf: base64Pdf, bytes: bytes, url: url, filePath: filePath, asset: asset, password: password, initialPage: initialPage),
  ),
);