Skip to main content

social_links_generator 0.0.3 copy "social_links_generator: ^0.0.3" to clipboard
social_links_generator: ^0.0.3 copied to clipboard

A simple Dart package to generate social media profile links for popular platforms.

social_links_generator #

A simple Dart package to generate social media profile and contact links.

Currently, supports generating WhatsApp chat links with pre-filled messages.
Designed to be lightweight, easy to use, and extensible for more platforms.


Features #

  • Generate WhatsApp chat links
  • Automatically URL-encodes messages
  • Works with Dart & Flutter
  • Clean and simple API

Installation #

Add this to your pubspec.yaml:

dependencies:
  social_links_generator: ^0.0.1

Usage #

import 'package:social_links_generator/social_links_generator.dart';

void main() {
  final link = generateWhatsAppLink(
    phone: '966501234567',
    body: 'Hello! I am interested in your service.',
  );

  print(link);
}

output #

https://wa.me/966501234567?text=Hello%20I%20am%20interested%20in%20your%20service.
0
likes
145
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple Dart package to generate social media profile links for popular platforms.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on social_links_generator