WidgetAnchors extension Null safety

An extension on Widget to keep track of anchors.

on

Properties

anchors Iterable<Key>?
Anchor keys of this widget and its children.
read-only

Methods

setAnchorsIfUnset(Iterable<Key>? anchors) bool
Set anchor keys.