laravel_flutter_pusher_plus 1.0.2 copy "laravel_flutter_pusher_plus: ^1.0.2" to clipboard
laravel_flutter_pusher_plus: ^1.0.2 copied to clipboard

Pusher client that supports laravel echo in flutter projects. Supports Null satefy

example/README.md

laravel_flutter_pusher_plus_example #

Demonstrates how to use the laravel_flutter_pusher_plus plugin.

import 'package:laravel_flutter_pusher_plus/laravel_flutter_pusher_plus.dart';

void main() {

  var options = PusherOptions(
          host: '10.0.2.2',
          port: 6001,
          encrypted: false,
          cluster: 'eu'
      );

      LaravelFlutterPusher pusher = LaravelFlutterPusher('app_key', options, enableLogging: true);
      pusher
          .subscribe('channel')
          .bind('event', (event) => log('event =>' + event.toString()));
}
2
likes
150
pub points
52%
popularity

Publisher

verified publishermicazi.dev

Pusher client that supports laravel echo in flutter projects. Supports Null satefy

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, json_annotation

More

Packages that depend on laravel_flutter_pusher_plus