FLUTTER ECOSYSTEM

AbhishekDoshi26/contactus

CONTACTUS 是一个 Flutter 包。任何商业应用中最常见的功能之一就是开发者的联系方式!因此,此包帮助开发者轻松添加自己的详细信息。

联系 项目封面
Stars
28
Forks
19
最近推送(UTC)
2023年10月29日
项目状态
未归档
Abhishek Doshi GitHub avatar
GITHUB User

Abhishek Doshi ↗

Google Developer Expert - Dart, Flutter & Firebase 💙💛 Developer Relations Engineer @shorebirdtech 🥑🐤

ShorebirdIndia
语言Dart

技术话题

此仓库发布的插件

使用的依赖

依赖清单 4 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Contact Us



The most common functionality added in any commercial app is the Developer's contact details!!
So this package helps the developers to simply add their details.

Now you can also add the contact details as a part of your bottomNavigationBar



Now you can add customizedable fonts for company/individual name, tagline & text along with the custom color for divider and font weights.



Developers can add following details:
  • Company Name
  • Phone Number
  • Website
  • Email ID
  • Twitter Handle
  • Instagram ID
  • Facebook ID
  • Linkedin URL
  • Github UserName
  • Tiktok Username


Best feature is that, when the user clicks on any detail, respective app/web page will be opened.

Now you can also add the contact details as a part of your bottomNavigationBar




Example Code for creating an entire page



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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        backgroundColor: Colors.teal,
        body: ContactUs(
          logo: AssetImage('images/crop.jpg'),
          email: 'adoshi26.ad@gmail.com',
          companyName: 'Abhishek Doshi',
          phoneNumber: '+91123456789',
          dividerThickness: 2,
          website: 'https://abhishekdoshi.godaddysites.com',
          githubUserName: 'AbhishekDoshi26',
          linkedinURL: 'https://www.linkedin.com/in/abhishek-doshi-520983199/',
          tagLine: 'Flutter Developer',
          twitterHandle: 'AbhishekDoshi26',
          instagramUserName: '_abhishek_doshi',
          customSocials: [
            CustomSocialField(
                icon: const Icon(Icons.abc),
                name: "Username",
                url: "Profile Url",
              ),
          ],
        ),
      ),
    );
  }
}




Example Code for adding details in bottomNavigationBar

bottomNavigationBar: ContactUsBottomAppBar(
          companyName: 'Abhishek Doshi',
          textColor: Colors.white,
          backgroundColor: Colors.teal.shade300,
          email: 'adoshi26.ad@gmail.com',
        ),



Output

Output