feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated

This commit is contained in:
Nick Fisher committed 2024-09-05 17:47:54 +08:00
1 parent ae1e14ddb7
commit 0ac0a92024
2 files changed
+2 -1

No files matched your search

@@ -60,6 +60,7 @@ class ThermionFlutterPlugin {
}
}
@Deprecated("Use createViewerWithOptions")
static Future<ThermionViewer> createViewer({String? uberArchivePath}) async {
if (_initializing) {
throw Exception("Existing call to createViewer has not completed.");