add getBackgroundImage to ThermionViewerFFI

This commit is contained in:
Nick Fisher committed 2025-06-17 11:49:16 +08:00
1 parent b9354531b2
commit 288acb019e
1 file changed
+8
@@ -199,6 +199,14 @@ class ThermionViewerFFI extends ThermionViewer {
} }
} }
///
///
///
Future<BackgroundImage> getBackgroundImage() async {
_backgroundImage ??= await BackgroundImage.create(this, scene);
return _backgroundImage!;
}
/// ///
/// ///
/// ///