Skip to content
pubscout

slack_notifier

1.4.1, released 11 months ago by an unverified publisher

A simple wrapper for posting messages to Slack using Incoming Webhooks.

WASM-ready
$ flutter pub add slack_notifier
Source repository

What it does

Allows posting messages, layout blocks, and attachments to Slack channels or direct messages via Incoming Webhooks. Supports rich formatting, block kit components, and custom bot configurations.

AI-written summary of version 1.4.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to send server notifications or app updates to a Slack channel
  • You want to use Slack's Block Kit to create interactive or visually rich messages from Dart/Flutter

Skip it when

  • You need to receive real-time messages from Slack in a bidirectional chat interface
  • You require full OAuth bot setup beyond simple incoming webhooks

Strengths

  • Easy to setup and use with a single webhook URL
  • Supports comprehensive Slack Block Kit elements and attachments
  • Works across multiple platforms including Flutter Web

Weaknesses

  • Limited strictly to sending messages via Incoming Webhooks
  • No built-in support for reading incoming chat messages or advanced bot events

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Requires creating a Slack app and enabling Incoming Webhooks to obtain a webhook URL.

final slack = SlackNotifier('WEBHOOK_URL');
slack.send(
  'Hello world',
  channel: 'general',
  iconEmoji: ':chart_with_upwards_trend:',
);

Alternatives

Packages that do the same job and could replace slack_notifier.

  • slack_logger

    Send messages, images, and markdown to a Slack channel via a webhook.

  • agora_rtm

    Flutter wrapper around the Agora Real Time Message SDKs for Android and iOS.