stream_feed 0.1.0 copy "stream_feed: ^0.1.0" to clipboard
stream_feed: ^0.1.0 copied to clipboard

outdated

Stream Feed official Dart SDK. Build your own feed experience using Dart and Flutter.

Official Dart Client for Stream Activity Feeds #

The official Dart client for Stream Activity Feeds, a service for building feed applications. This library can be used on any Dart project and on both mobile and web apps with Flutter.

🔗 Quick Links

Changelog #

Check out the changelog on pub.dev to see the latest changes in the package.

Getting started #

Add dependency #

Add this to your package's pubspec.yaml file, use the latest version Pub

dependencies:
 stream_feed: ^latest-version

You should then run flutter packages get

🔮 Example Project #

There is a detailed Flutter example project in the example folder. You can directly run and play on it.

🛠 Setup API Client #

First you need to instantiate a feed client. The Feed client will manage API calls. You should only create the client once and re-use it across your application.

final client = StreamFeedClient.connect("stream-feed-api-key",token:userToken);

Contributing #

Code conventions #

  • Make sure that you run dartfmt before commiting your code
  • Make sure all public methods and functions are well documented

Running tests #

  • run flutter test

Releasing a new version #

  • update the package version on pubspec.yaml and version.dart

  • add a changelog entry on CHANGELOG.md

  • run flutter pub publish to publish the package

Watch models and generate JSON code #

JSON serialization relies on code generation; make sure to keep that running while you make changes to the library

flutter pub run build_runner watch
19
likes
0
pub points
80%
popularity

Publisher

verified publishergetstream.io

Stream Feed official Dart SDK. Build your own feed experience using Dart and Flutter.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dio, equatable, faye_dart, http_parser, jose, json_annotation, logging, meta, mime, web_socket_channel

More

Packages that depend on stream_feed