Indicates that the layout of one of the descendants of the object receiving this notification has changed in some way, and that therefore any assumptions about that layout are no longer valid.
Useful if, for instance, you're trying to align multiple descendants.
Be aware that in the widgets library, only the Scrollable classes dispatch this notification. (Transitions, in particular, do not.) Changing one's layout in one's build function does not cause this notification to be dispatched automatically. If an ancestor expects to be notified for any layout change, make sure you only use widgets that either never change layout, or that do notify their ancestors when appropriate.
- Inheritance
- Object
- Notification
- LayoutChangedNotification
Constructors
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
dispatch(
BuildContext target) → void -
Start bubbling this notification at the given build context.
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited -
visitAncestor(
Element element) → bool -
Applied to each ancestor of the dispatch target. Dispatches this Notification to ancestor NotificationListener widgets.
inherited