social_media_buttons 0.1.2
social_media_buttons: ^0.1.2

Flutter Android iOS

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

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:social_media_buttons/social_media_button.dart';
import 'package:social_media_buttons/social_media_buttons.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Social Media Buttons',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Social Media Buttons'),
        ),
        body: GridView.count(
          children: <Widget>[
            Icon(SocialMediaIcons.twitter),
            SocialMediaButton.twitter(
              url: "https://twitter.com/CipliOnat",
              size: 35,
              color: Colors.blue,
            ),
            SocialMediaButton.github(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.stackoverflow(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.instagram(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.spotify(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.whatsapp(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.youtube(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.skype(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.facebook(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.google(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.snapchat(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.linkedin(
              onTap: () {
                print('onTap ');
              },
            ),
            SocialMediaButton.dribbble(
              onTap: () {
                print('onTap ');
              },
            ),
          ],
          crossAxisCount: 3,
        ),
      ),
    );
  }
}
11
likes
90
pub points
82%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ciplionat35@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, universal_html, url_launcher

More

Packages that depend on social_media_buttons