windowElementAnchor method

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

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

Implementation

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