sdk_xyo_flutter 0.1.0

logo

BCH compliance Codacy Badge Known Vulnerabilities

XYO Flutter SDK #

Table of Contents #

Description #

A robust Bluetooth solution for Android. This BLE SDK was written from ground-up, in Kotlin, to help developers with the agonizing issues with Android the BLE stack. Not only will this SDK make XYO apps better, but bring XYO functionality to existing apps. In adition to generalized BLE support, the SDK also has specific support for XY spacific hardware.

Install #

Add this to your pubspec:

dependencies: 
  sdk_xyo_flutter: ^0.1.0

Update your packages:

flutter pub get

If you are using VSCode, you will be prompted to update packages in the editor.

Usage #

License #

See the LICENSE file for license details.

Credits #

Made with 🔥and ❄️ by XYO

0.1.0 #

  • initial release.

example/README.md

sdk_xyo_flutter_example #

Demonstrates how to use the sdk_xyo_flutter plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  sdk_xyo_flutter: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:sdk_xyo_flutter/sdk_xyo_flutter.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Feb 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Health suggestions

Format lib/protos/bound_witness.pb.dart.

Run flutter format to format lib/protos/bound_witness.pb.dart.

Format lib/protos/bound_witness.pbenum.dart.

Run flutter format to format lib/protos/bound_witness.pbenum.dart.

Format lib/protos/bound_witness.pbjson.dart.

Run flutter format to format lib/protos/bound_witness.pbjson.dart.

Fix additional 5 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/protos/bound_witness.pbserver.dart (Run flutter format to format lib/protos/bound_witness.pbserver.dart.)
  • lib/protos/device.pb.dart (Run flutter format to format lib/protos/device.pb.dart.)
  • lib/protos/device.pbenum.dart (Run flutter format to format lib/protos/device.pbenum.dart.)
  • lib/protos/device.pbjson.dart (Run flutter format to format lib/protos/device.pbjson.dart.)
  • lib/protos/device.pbserver.dart (Run flutter format to format lib/protos/device.pbserver.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
fixnum ^0.10.11 0.10.11
flutter 0.0.0
mutex ^1.0.1 1.0.3
protobuf ^1.0.0 1.0.1
retry ^3.0.0+1 3.0.0+1
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
build_runner ^1.0.0
flutter_test