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) {
  // ignore: deprecated_member_use_from_same_package
  return InheritedShape.of(context).shape;
}