Last updated:
0 purchases
flutter discord logger
flutter_discord_logger #
This package is a flutter version of discord-logger-js. Refer: https://github.com/johnmelodyme/discord-logger-js
Android
IOS
Requirement
min 16
min 9.0
Demo:
How to use? #
Installation
Add flutter_discord_logger to pubspec.yaml, and hit command flutter pub get.
or
run flutter pub add flutter_discord_logger
dependencies:
flutter_discord_logger: any
copied to clipboard
Implementation
Before implementing, make sure you uderstand the parameters.
import 'package:flutter_discord_logger/flutter_discord_logger.dart';
copied to clipboard
Example of calling the widget:
/// Init Discord
late final Discord discord = Discord(
/// Name of your webhook
appName: 'app',
/// Your Webhook url
webhookUrl: webhook.text.toString(),
);
discord.send(
/// Your message
message: message.text.toString(),
/// delay, default set to 1
timer: 2,
);
copied to clipboard
Contribution: #
I Would ❤️ to see any contributions. If you do liked my work, show some ❤️ by ⭐ repo.
Also you can appreciate me by buy me a coffee:
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.