Giter Club home page Giter Club logo

social_media_flutter's Introduction

social_media_flutter

Untitled

Many times its required to integrate the social links inside the apps/webapps. This package can help you save your UI coding time and energy. Just import the widget and modify it according to your needs and desired look.

Features

  1. Change Social Logo Color and Size according to the needs or theme(optional).
  2. Give your own text style to the placeholder text.
  3. Provide a link to redirect the users to your social page.

Outcome

Your image title Your image title Your image title

Usage

Using a SocialWidget -

 SocialWidget(
    placeholderText: 'akshitmadan_', //text visible to viewers
    iconData: SocialIconsFlutter.instagram,  //use the respective social logo
    iconColor: Colors.pink, //(optional, default - grey)
    link: 'https://www.instagram.com/akshitmadan_/', //provide the link
    placeholderStyle:
    TextStyle(color: Colors.black, fontSize: 20), //placeholder text style
),

Check example for better understanding

Additional information

Raise a pull request/issue incase of any bug or problem. Add more social widgets to contribute to this open source package.

social_media_flutter's People

Contributors

akmadan avatar

Stargazers

Andres Garcia avatar

Watchers

 avatar

social_media_flutter's Issues

SocialWidget renders to extreme left (start)

I am building a website using Flutter-Web
SocialWidget renders to extreme left (start).
I have added SocialWidget inside a Column widget. I have set both mainAxisAlignment and crossAxisAlignment property to center yet the SocialWidget only renders to left.

Wrapping SocialWidget with Center or Align Widget also has no effect.

Kindly note I am using responsive_framework in the web-page. Will it have any bearing on the layout position.

I am also getting the bellow error

Error: Assertion failed:
..\…\painting\text_painter.dart:954
!_debugNeedsLayout
is not true
    at Object.throw_ [as throw] (http://localhost:51619/dart_sdk.js:5080:11)
    at Object.assertFailed (http://localhost:51619/dart_sdk.js:5005:15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.