From 5fb5e42b98d11d04080fa2211ba9b274005fbb0d Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 17 Dec 2024 14:05:30 +0800 Subject: [PATCH] feat: allow custom material for grid overlay, and material creation from Uint8List --- .../lib/src/viewer/src/thermion_viewer_base.dart | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/thermion_dart/lib/src/viewer/src/thermion_viewer_base.dart b/thermion_dart/lib/src/viewer/src/thermion_viewer_base.dart index a6528a10..20b66672 100644 --- a/thermion_dart/lib/src/viewer/src/thermion_viewer_base.dart +++ b/thermion_dart/lib/src/viewer/src/thermion_viewer_base.dart @@ -765,8 +765,8 @@ abstract class ThermionViewer { /// /// /// - Future showGridOverlay(); - + Future showGridOverlay({covariant Material? material}); + /// /// /// @@ -788,6 +788,11 @@ abstract class ThermionViewer { /// Future destroyTexture(covariant ThermionTexture texture); + /// + /// + /// + Future createMaterial(Uint8List data); + /// /// ///