v1.2.3contactus
contactus 是一个帮助开发者轻松添加联系信息的包。开发者可以添加许多重要信息,例如网站、电子邮件、电话号码等。
66喜欢 408近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
CONTACTUS 是一个 Flutter 包。任何商业应用中最常见的功能之一就是开发者的联系方式!因此,此包帮助开发者轻松添加自己的详细信息。
{"sdk":"flutter"}^0.5.0^6.1.10{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
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.
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",
),
],
),
),
);
}
}
bottomNavigationBar: ContactUsBottomAppBar(
companyName: 'Abhishek Doshi',
textColor: Colors.white,
backgroundColor: Colors.teal.shade300,
email: 'adoshi26.ad@gmail.com',
),
Output