nexusevent_flutter 0.1.1 copy "nexusevent_flutter: ^0.1.1" to clipboard
nexusevent_flutter: ^0.1.1 copied to clipboard

NexusEvent Flutter SDK - 跨平台消息推送SDK,支持Discord、Slack等多种平台

NexusEvent Flutter SDK #

A powerful Flutter SDK for cross-platform message sending, supporting Discord, Slack, Telegram and more platforms.

Features #

  • 🚀 Multi-platform support (Discord, Slack, Telegram, etc.)
  • 📱 Cross-platform Flutter support (iOS, Android, Web, Desktop)
  • 🔄 Asynchronous API with comprehensive error handling
  • 🎨 Rich message formatting and embed support
  • 🛡️ Built-in security and rate limiting
  • 📝 TypeScript-like strong typing

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  nexusevent_flutter: ^0.1.1

Then run:

flutter pub get

Quick Start #

import 'package:nexusevent_flutter/nexusevent_flutter.dart';

void main() async {
  // Initialize the client
  final client = NexusEventClient();
  
  // Discord webhook example
  final discordConfig = DiscordWebhookConfig(
    webhookUrl: 'your-discord-webhook-url',
  );
  
  try {
    final result = await client.sendDiscordMessage(
      config: discordConfig,
      content: 'Hello from NexusEvent Flutter SDK!',
    );
    print('Message sent successfully: ${result.success}');
  } catch (e) {
    print('Error sending message: $e');
  }
}

Supported Platforms #

  • Discord: Webhook messages with rich embeds
  • Slack: Webhook and Bot API support
  • Telegram: Bot API integration
  • And more coming soon...

Documentation #

For detailed documentation and examples, visit:

License #

Apache License 2.0 - see LICENSE for details.

Support #

0
likes
130
points
62
downloads

Publisher

unverified uploader

Weekly Downloads

NexusEvent Flutter SDK - 跨平台消息推送SDK,支持Discord、Slack等多种平台

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on nexusevent_flutter