搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫AbhishekDoshi26/contactus

聯絡

CONTACTUS 是一個 Flutter 套件。任何商業應用中最常見的功能之一就是開發者的聯絡資訊!因此,這個套件幫助開發者輕鬆新增自己的詳細資料。

聯絡 專案封面
星標
28
分支
19
最近推送(UTC)
2023年10月29日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

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

Abhishek Doshi GitHub avatar
GitHub 作者

Abhishek Doshi ↗

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

ShorebirdIndia
語言Dart

分類

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗