wear_os_plugin

A Flutter plugin with basic Wear OS functionality, like scrollable view with rotary input or circular screen support

Round Screen By default all apps are Fullscreen and this means rectangular. To have round shaped apps, the app needs to have transparent backgrounds. Round screens will be visible, when you swipe away an app like this:

Round Screen

Beside the general transparent behavior of the app, all widgets must be clipped which is handled automatically by the the WearOsClipper class.

The general information about the screen shape is handled by the WearOsApp class. It has static and listenable member value to hold the information about round shape etc.

These values will be initialized by using the WearOsApp or by calling the static init method.

Round Scrollbar The default scrollbars are rectangular, like the basic screen layout.

The class WearOsScrollView takes care of scrollbars:

rectangular watch round watch
Rectangular Round

Getting Started

Wear OS

Change the following in your Wear OS (Android) Project:

android/app/build.gradle:

minSdkVersion 30

android/app/src/main/AndroidManifest.xml:

	<application
	...>
        <meta-data
            android:name="com.google.android.wearable.standalone"
            android:value="true" />
	...            

Maybe change the launch theme directly to the normal theme, to avoid the system splash screen:

	<application
		...
		android:theme="@style/LaunchTheme"
		->
		android:theme="@style/NormalTheme"
	...

Permission for Vibration and Watch Feature is already set.