of static method

WearShape of(
  1. BuildContext context
)

Call WatchShape.of(context) to retrieve the shape further down in the widget hierarchy.

Implementation

static WearShape of(BuildContext context) {
  return _InheritedShape.of(context).shape;
}