build abstract method
- BuildContext context,
- covariant ChildVicinity vicinity
Returns the child with the given ChildVicinity, which is described in terms of x and y indices.
Subclasses must implement this function and will typically wrap their children in RepaintBoundary widgets.
The values returned by this method are cached. To indicate that the widgets have changed, a new delegate must be provided, and the new delegate's shouldRebuild method must return true. Alternatively, calling notifyListeners will allow the same delegate to be used.
Implementation
Widget? build(BuildContext context, covariant ChildVicinity vicinity);