social_media_buttons 1.0.0 copy "social_media_buttons: ^1.0.0" to clipboard
social_media_buttons: ^1.0.0 copied to clipboard

A package that helps you to put some SocialMediaButtons to your profile or portfolio, and with url parameter it's launches the related url on web and mobile too.

social_media_buttons #

usage: #

use SocialMediaButton named constructors such as : SocialMediaButton.twitter(), SocialMediaButton.instagram(), SocialMediaButton.linkedin(), SocialMediaButton.github() and more

Widget buildSocialMediaButton(){
  return SocialMediaButton.twitter(
     url: "https://twitter.com/CipliOnat",
     size: 35,
     color: Colors.blue,
  );
}

or Just use onTap callback, be careful onTap and url shouldn't be provided at the same time.

Widget buildSocialMediaButton(){
  return SocialMediaButton.twitter(
     onTap: (){
       print('or just use onTap callback');
     },
     size: 35,
     color: Colors.blue,
  );
}

or just use with Icon widget

Widget buildSocialMediaIcon(){
  return Icon(SocialMediaIcons.github);
}

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

22
likes
120
pub points
85%
popularity

Publisher

unverified uploader

A package that helps you to put some SocialMediaButtons to your profile or portfolio, and with url parameter it's launches the related url on web and mobile too.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, universal_html, url_launcher

More

Packages that depend on social_media_buttons