notepad_core_web 1.3.0

notepad_core_web #

A new flutter plugin project.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

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

[1.3.0] - 2019-12-23

NotepadCorePlugin #

  • Impl requestMtu
  • Impl requestConnectionPriority
  • Impl writeValue with optional BleOutputProperty

[1.2.1] - 2019-12-21

  • Fix addEventListener in Bluetooth when release

[1.2.0] - 2019-12-21

NotepadCorePlugin #

  • Implement isBluetoothAvailable
  • Implement BluetoothState notification

[1.1.0] - 2019-12-20

NotepadCorePlugin #

Operate service/characteristic #

  • Implement readValue
  • Implement inputValueStream

[1.0.0] - 2019-12-19

NotepadCorePlugin #

Scan/Request device #

  • Implement requestDevice

Connect/Disconnect device #

  • Implement connect, disconnect
  • Notify messageHandler when connection state change

Operate service/characteristic #

  • Implement setNotifiable
  • Implement writeValue

Use this package as a library

1. Depend on it

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


dependencies:
  notepad_core_web: ^1.3.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:notepad_core_web/notepad_core_web.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
60
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
78
Learn more about scoring.

We analyzed this package on Feb 12, 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 issues and suggestions

Document public APIs. (-0.21 points)

72 out of 74 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/js_facade.dart.

Run flutter format to format lib/js_facade.dart.

Format lib/notepad_core_js.dart.

Run flutter format to format lib/notepad_core_js.dart.

Format lib/notepad_core_web.dart.

Run flutter format to format lib/notepad_core_web.dart.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and notepad_core_web.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
convert ^2.1.1 2.1.1
flutter 0.0.0
flutter_web_plugins 0.0.0
js ^0.6.1+1 0.6.1+1
notepad_core_platform_interface ^1.3.0 1.3.0
platform_detect ^1.4.0 1.4.0
Transitive dependencies
charcode 1.1.3
collection 1.14.11 1.14.12
meta 1.1.8
plugin_platform_interface 1.0.1
pub_semver 1.4.3
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test