slacky 0.0.2 copy "slacky: ^0.0.2" to clipboard
slacky: ^0.0.2 copied to clipboard

A new Flutter package for accessing slack apis. It currently implements only the chat apis. Newer apis will be added soon.

example/example.dart

import 'package:flutter/foundation.dart';
import 'package:slacky/slacky.dart';

void main(List<String> arguments) async {
  final slacky = SlackNotifer();
  const token = 'xoxb-xxxxxxx-xxxxx-xxxxxxx';
  const channelId = 'channelId';
  var message = 'some message';

  var results = await slacky.postMessage(
    token: token,
    channelId: channelId,
    messageText: message,
  );

  debugPrint(results);
}
3
likes
150
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for accessing slack apis. It currently implements only the chat apis. Newer apis will be added soon.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, http

More

Packages that depend on slacky