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

A new Flutter package for accessing slack chat apis.

example/example.dart

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

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

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

  debugPrint(results);
}
3
likes
160
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for accessing slack chat apis.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, http

More

Packages that depend on slacky