simple_flutter_reverb 0.0.1
simple_flutter_reverb: ^0.0.1 copied to clipboard
A simple flutter project to demonstrate the use of websockets with laravel reverb server.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add simple_flutter_reverbWith Flutter:
$ flutter pub add simple_flutter_reverbThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
simple_flutter_reverb: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_flutter_reverb/flutter_reverb.dart';
import 'package:simple_flutter_reverb/flutter_reverb_options.dart';