slacky 0.0.2
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.
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);
}