slack_logger
1.0.7, released 3 years ago by dipenmaharjan.com.np
Send messages, images, and markdown to a Slack channel via a webhook.
WASM-ready
What it does
Provides a singleton SlackLogger that posts plain text, images, and rich markdown blocks to a Slack incoming webhook. It wraps HTTP calls to Slack's API for easy logging from Flutter apps.
AI-written summary of version 1.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need simple Slack notifications from a Flutter app without a full logging framework
- You want to send alerts, images, or interactive messages to a Slack channel
- You prefer a lightweight dependency (only http)
Skip it when
- You require structured logging, log levels, or log persistence
- You need advanced log aggregation or analytics beyond Slack
Strengths
- Very small API surface
- No extra setup beyond providing a webhook URL
- Supports images, buttons, and attachments
Weaknesses
- Limited to Slack webhook features only
- No log level management or filtering
- No built‑in retry or error handling
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
final slack = SlackLogger.instance;
await slack.send("Hello from Flutter!");Alternatives
Packages that do the same job and could replace slack_logger.