SizeChangedLayoutNotification class

Indicates that the size of one of the descendants of the object receiving this notification has changed, and that therefore any assumptions about that layout are no longer valid.

For example, sent by the SizeChangedLayoutNotifier widget whenever that widget changes size.

This notification can be used for triggering repaints, but if you use this notification to trigger rebuilds or relayouts, you'll create a backwards dependency in the frame pipeline because SizeChangedLayoutNotifications are generated during layout, which is after the build phase and in the middle of the layout phase. This backwards dependency can lead to visual corruption or lags.

See LayoutChangedNotification for additional discussion of layout notifications such as this one.

See also:





hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString. [...]
@mustCallSuper, @protected, inherited
dispatch(BuildContext target) → void
Start bubbling this notification at the given build context. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.
visitAncestor(Element element) bool
Applied to each ancestor of the dispatch target. [...]
@mustCallSuper, @protected, inherited


operator ==(Object other) bool
The equality operator. [...]