GlassBackdropController class

The copy of a GlassBackdrop's background, for the glass over it.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
hasUsers → bool
Whether any glass is reading the copy.
no setter
image → Image?
The latest copy, covering the background's whole box.
no setter
isActive → bool
Whether the backdrop that made this is still around. Overlays can outlive the page whose backdrop they carry.
no setter
renderBox → RenderBox?
The background's render box, for mapping glass into it.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addUser() → void
Glass reading the copy registers, so no copy is taken while none is.
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
frosted(double sigma) → Image?
The copy, blurred by sigma logical px, made once per copy and shared by every glass that frosts by that much. Glass samples it once per pixel rather than blurring the copy itself, which costs it dozens.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeUser() → void
Glass stops reading the copy, undoing one addUser.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited