socketnotifs 0.1.8
socketnotifs: ^0.1.8 copied to clipboard
SocketNotifs is a Dart plugin for Flutter applications that facilitates easy WebSocket connections and provides notifications. This plugin currently supports the Android platform, while iOS support is [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add socketnotifsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
socketnotifs: ^0.1.8Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:socketnotifs/socketnotifs.dart';