viam_sdk 0.0.27 copy "viam_sdk: ^0.0.27" to clipboard
viam_sdk: ^0.0.27 copied to clipboard

Viam Robotics Flutter SDK. Connect to your Viam robots using WebRTC or gRPC, and control your robots remotely.

2
likes
140/ 160
pub points
72%
popularity

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

28450 out of 48223 API elements (59.0 %) have documentation comments.

Some symbols that are missing documentation: Common, Components, Protobuf Definitions, Services, Viam SDK.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:viam_sdk/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk_impl.dart that imports:
  • package:viam_sdk/src/rpc/dial.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client_connection.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_transport_stream.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:viam_sdk/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk_impl.dart that imports:
  • package:viam_sdk/src/rpc/dial.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client_connection.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_transport_stream.dart that imports:
  • package:grpc/grpc_connection_interface.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:grpc/src/shared/status.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits_io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 430 issues. Showing the first 2:

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/widgets/button.dart:134:18

    ╷
134 │       textStyle: MaterialStatePropertyAll(TextStyle(fontSize: fontSize)),
    │                  ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/button.dart

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/widgets/button.dart:135:16

    ╷
135 │       padding: MaterialStatePropertyAll(padding),
    │                ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/button.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.11.0 2.12.0 2.12.0
bonsoir ^5.1.8 5.1.10 5.1.10
bson ^5.0.5 5.0.5 5.0.5
collection ^1.17.1 1.18.0 1.19.1
fixnum ^1.1.0 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
flutter_joystick ^0.2.1 0.2.1 0.2.1
flutter_webrtc ^0.11.0 0.11.7 0.12.1+hotfix.1
grpc ^4.0.1 4.0.1 4.0.1
image ^4.0.16 4.3.0 4.3.0
logger ^2.0.1 2.5.0 2.5.0
protobuf ^3.0.0 3.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
bonsoir_android - 5.1.5 5.1.5
bonsoir_darwin - 5.1.3 5.1.3
bonsoir_linux - 5.1.3 5.1.3
bonsoir_platform_interface - 5.1.3 5.1.3
bonsoir_windows - 5.1.5 5.1.5
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
dart_webrtc - 1.4.9 1.4.9
dbus - 0.7.10 0.7.10
decimal - 3.0.2 3.0.2
ffi - 2.1.3 2.1.3
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 1.6.0
http - 1.2.2 1.2.2
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
packages_extensions - 0.1.1 0.1.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
platform_detect - 2.1.0 2.1.0
plugin_platform_interface - 2.1.8 2.1.8
power_extensions - 0.2.3 0.2.3
pub_semver - 2.1.4 2.1.4
rational - 2.2.3 2.2.3
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webrtc_interface - 1.2.0 1.2.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.11.0` on flutter_webrtc does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions flutter_webrtc to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

2
likes
140
pub points
72%
popularity

Publisher

verified publisherviam.com

Viam Robotics Flutter SDK. Connect to your Viam robots using WebRTC or gRPC, and control your robots remotely.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, bonsoir, bson, collection, fixnum, flutter, flutter_joystick, flutter_webrtc, grpc, image, logger, protobuf

More

Packages that depend on viam_sdk