{"id":20937316,"url":"https://github.com/huhx/slack_notification","last_synced_at":"2026-05-03T18:35:24.833Z","repository":{"id":142552832,"uuid":"613631847","full_name":"huhx/slack_notification","owner":"huhx","description":"Slack notification in Dart","archived":false,"fork":false,"pushed_at":"2023-03-14T14:51:03.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T17:17:47.018Z","etag":null,"topics":["dart","flutter","slack"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huhx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-14T00:36:06.000Z","updated_at":"2023-03-14T11:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd02268f-c260-4c4e-a326-804d8b3c179f","html_url":"https://github.com/huhx/slack_notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/huhx/slack_notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huhx%2Fslack_notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huhx%2Fslack_notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huhx%2Fslack_notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huhx%2Fslack_notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huhx","download_url":"https://codeload.github.com/huhx/slack_notification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huhx%2Fslack_notification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32580076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","slack"],"created_at":"2024-11-18T22:35:02.776Z","updated_at":"2026-05-03T18:35:24.814Z","avatar_url":"https://github.com/huhx.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Features\nIncoming Webhooks are a simple way to post messages from apps into Slack. Creating an Incoming Webhook gives you a unique URL to which you send a JSON payload with the message text and some options. You can use all the usual formatting and layout blocks with Incoming Webhooks to make the messages stand out.\n\n![Example message with attachment showing full range of fields](https://a.slack-edge.com/02c4a07/img/api/message_example_with_attachments.png)\n\n**flutter pub**: [https://pub.dev/packages/slack_notification](https://pub.dev/packages/slack_notification)\n\n## Getting started\nBefore use Incoming Webhooks, we need to create `Slack` app. The setup link: https://api.slack.com/messaging/webhooks\n\n\n## Usage\nAfter create `Slack` and add `Webhooks`, remeber the Webhook URL(this data is sentive include secret, just be careful).\n### Add dependencies\n```yaml\ndependencies:\n  slack_notification: ^1.2.2\n```\n\n### Simple usage\n```dart\nfinal Message message = Message(\n    text: \"person: Hello World. ${DateTime.now()}\",\n);\n\nfinal Response\u003cdynamic\u003e response = await Slack(webHookUrl).send(\n    message: message,\n);\n```\n\n### Advance usage\n```dart\nfinal Message message = Message(\n  text: \"person: Hello World. ${DateTime.now()}\",\n  blocks: [\n    SectionBlock(\n      text: {\n        \"type\": \"mrkdwn\",\n        \"text\": \"Danny Torrence left the following review for your property:\"\n      },\n    ),\n    SectionBlock(\n      fields: [\n        {\"type\": \"mrkdwn\", \"text\": \"*Average Rating*\\n1.0\"}\n      ],\n    )\n  ],\n);\n\nfinal Response\u003cdynamic\u003e response = await Slack(personUrl).send(\n  message: message,\n);\n```\n\n`Block` or `Attachment`, refer to:\n* Block：https://api.slack.com/reference/block-kit/blocks\n* Attachents: https://api.slack.com/reference/messaging/attachments\n\u003e This feature of `Attachents` is a legacy part of messaging functionality for Slack apps. We recommend you stick with layout `blocks`\n\n## Drop a ⭐ if it is help to you.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuhx%2Fslack_notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuhx%2Fslack_notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuhx%2Fslack_notification/lists"}