flutter_watchos 0.1.0-beta.2 copy "flutter_watchos: ^0.1.0-beta.2" to clipboard
flutter_watchos: ^0.1.0-beta.2 copied to clipboard

Platform detection and utilities for Flutter apps running on Apple Watch (watchOS). Provides runtime checks for watchOS, device info, capability queries, and Taptic Engine haptics.

0.1.0-beta.2 #

  • Fix: the package now no-ops correctly on iPhone/iPad. The native-symbol gate used Platform.isIOS, which is also true on real iOS, so cross-platform apps crashed with "symbol not found" when calling WatchCrown, WatchHaptics, WatchStatusBar, WatchCrownScrolling, or WatchOSInfo off-watch. The gate now checks for an actual watchOS process (Platform.operatingSystem == 'watchos'), so the documented "safe no-op on non-watchOS platforms" behavior holds everywhere: haptics and status-bar calls do nothing, the crown stream never emits, drain() returns 0, and WatchOSInfo.isWatchOS reports false.

0.1.0-beta.1 #

  • Initial beta release.
  • WatchStatusBar — show/hide the system status bar (the clock watchOS draws over every app). Visible by default, per the watchOS HIG; set WatchStatusBar.hidden = true for immersive UIs.
  • WatchOSInfo — synchronous FFI device info (version, model, machine id, simulator, screen size/scale).
  • FlutterWatchosPlatform — cheap isWatch / isIos platform detection that disambiguates Apple Watch from iPhone/iPad (both report Platform.isIOS).
  • WatchHaptics — Taptic Engine feedback via WKInterfaceDevice.playHaptic.
  • WatchCrownScroll — the native scroll feel for a subtree: installs WatchScrollPhysics (firm, live, shallow watch-style edge bounce instead of the iPhone deep stretch; no haptic at the list edges, matching native watchOS 26).
  • WatchScrollPhysics / WatchScrollBehavior — the watch-tuned physics on their own, per scrollable or app-wide.
  • WatchCrownScrolling — the native-parity crown scroll options: sensitivity (low/medium/high) and detentHaptics on/off, applied by the engine per crown sample.
  • WatchCrown — raw Digital Crown input (rotation stream or per-frame drain()) for games and custom controls, switching the crown out of scroll mode while active.
0
likes
130
points
124
downloads

Documentation

API reference

Publisher

verified publisherflutterwatch.dev

Weekly Downloads

Platform detection and utilities for Flutter apps running on Apple Watch (watchOS). Provides runtime checks for watchOS, device info, capability queries, and Taptic Engine haptics.

License

BSD-3-Clause (license)

Dependencies

ffi, flutter

More

Packages that depend on flutter_watchos

Packages that implement flutter_watchos