Skip to content

This package includes some social media icons and SocialMediaButton can launch urls on all platforms such as web and mobile

License

Notifications You must be signed in to change notification settings

onatcipli/social_media_buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This package includes some social media icons and SocialMediaButton can launch urls on all platforms such as web and mobile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages