Skip to content
pubscout

wear_plus

1.2.5, released 5 months ago by rexios.dev

Flutter support and widgets for Wear OS devices.

WASM-ready
$ flutter pub add wear_plus
Source repository

What it does

Provides Flutter support for Wear OS by Google. It supplies specific widgets such as WatchShape to determine if the watch is square or round, and AmbientMode for handling ambient states.

AI-written summary of version 1.2.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are developing a Flutter application targeting Wear OS smartwatches
  • You need to handle watch-specific shapes like square or round screens
  • You need to support ambient mode and active mode for watch faces

Skip it when

  • You are building a standard mobile or desktop application
  • You do not need native watch shape or ambient mode support

Strengths

  • Actively maintained plugin for Wear OS
  • Provides essential watch-specific widgets like WatchShape and AmbientMode

Weaknesses

  • Requires setting a minimum SDK version to 23
  • Limited to specific Wear OS capabilities documented in the README

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Set your minSdkVersion to 23. If creating a standalone watch app, add the application meta-data for standalone to your manifest.

class WatchScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return WatchShape(
      builder: (BuildContext context, WearShape shape, Widget? child) {
        return AmbientMode(
          builder: (context, mode, child) {
            return mode == Mode.active ? ActiveWatchFace() : AmbientWatchFace();
          },
        );
      },
    );
  }
}

Alternatives

Packages that do the same job and could replace wear_plus.

  • wear

    Flutter plugin for Wear OS support, providing watch shape and ambient mode widgets.

Works with

Packages commonly used together with wear_plus: ones it builds on, ones built on it, and its own family.