VisualEffectSubviewContainerResizeEventRelay class
A resize event relay for the VisualEffectSubviewContainer widget.
This class is used to manually relay resize events to VisualEffectSubviewContainer
widgets. By default, a VisualEffectSubviewContainer widget triggers an update whenever
its build
method runs. If desired, it can be provided a
VisualEffectSubviewContainerResizeEventRelay in order to control the container's
update behavior manually. When a resize event relay is provided, calling its
onResize()
method will forcefully update the container's visual effect subview.
Constructors
- VisualEffectSubviewContainerResizeEventRelay({required bool disableUpdateOnBuild})
Properties
- disableUpdateOnBuild → bool
-
If true, the VisualEffectSubviewContainer will not automatically trigger update events
when its
build
method runs.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResize(
) → void - Relays a resize event to the VisualEffectSubviewContainer and forcefully triggers an update of its visual effect subview.
-
registerForceUpdateFunction(
void forceUpdate()) → void - Registers a force update function.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited