diff --git a/lib/filament_controller.dart b/lib/filament_controller.dart index 06048107..3e3350a9 100644 --- a/lib/filament_controller.dart +++ b/lib/filament_controller.dart @@ -20,6 +20,12 @@ class TextureDetails { } abstract class FilamentController { + /// + /// A [ValueNotifier] that holds the current dimensions (in physical pixels, after multiplying by pixel ratio) of the FilamentWidget. + /// If you need to perform work as early as possible, add a listener to this property before a [FilamentWidget] has been inserted into the widget hierarchy. + /// + ValueNotifier get rect; + /// /// Whether a Flutter Texture widget should be inserted into the widget hierarchy. /// This will be false on certain platforms where we use a transparent window underlay.