user_social_profile 1.0.5 copy "user_social_profile: ^1.0.5" to clipboard
user_social_profile: ^1.0.5 copied to clipboard

This package will display a developer's social profile information.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:user_social_profile/user_social_profile.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          backgroundColor: Colors.blue,
          title: Text(
            "Package Test",
            style: TextStyle(color: Colors.white, fontSize: 18),
          ),
          centerTitle: true,
        ),
        body: UserSocialProfile(
          name: "Mustafa Tahir",
          avatar:
              'https://avatars.githubusercontent.com/u/60258980?s=400&u=49d305bd19e5cf0eaf101986bfa075c3a7a3931c&v=4',
          socialPlatforms: [
            icon(Platform.medium),
            icon(Platform.github),
            icon(Platform.youtube),
            icon(Platform.linkedin),
            icon(Platform.behance),
            icon(Platform.stack),
            icon(Platform.meta),
            icon(Platform.x),
            icon(Platform.instagram),
          ],
          email: "test54@yopmail.com",
          phone: "+520 533 346",
        ),
      ),
    );
  }

  SocialIconsWidget icon(String param) => SocialIconsWidget(
    name: param,
    link: "https://github.com/mustafatahirhussein",
    iconSize: 42,
  );
}
3
likes
160
points
120
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package will display a developer's social profile information.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_icons, flutter, url_launcher

More

Packages that depend on user_social_profile