sceneElementAnchor method

  1. @override
AlignmentGeometry sceneElementAnchor(
  1. Spotlight element
)
override

Returns an anchor that is positioned relatively to element and with which windowElementAnchor will be aligned to position the Widget, representing element, in the Window.

Implementation

@override
AlignmentGeometry sceneElementAnchor(Spotlight element) => Alignment.center;