ContactListPageStyle constructor
const
ContactListPageStyle({
- AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Colors.white, shadowColor: Colors.white, surfaceTintColor: Colors.white, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Color(0xff181818), fontSize: 20), iconTheme: IconThemeData(color: Color(0xff181818)), actionsIconTheme: IconThemeData(color: Color(0xff181818))),
- EditTextFieldStyle searchTextFieldStyle = const EditTextFieldStyle(),
- TextStyle actionTextStyle = const TextStyle(color: Colors.black),
- ContactItemStyle contactItemStyle = const ContactItemStyle(profileImageSize: Size(50, 50), titleStyle: TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 14), descriptionStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 12), dividerColor: Color(0xffEBEBEB)),
- TextStyle noDataTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff767676), fontSize: 14),
- Decoration buttonDecoration = const BoxDecoration(color: AppColor.primaryColor, shape: BoxShape.rectangle, borderRadius: BorderRadius.only(topLeft: Radius.circular(2), topRight: Radius.circular(2))),
- TextStyle buttonTextStyle = const TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 14),
- Color buttonIconColor = Colors.white,
- PopupMenuThemeData popupMenuThemeData = const PopupMenuThemeData(color: Colors.white, surfaceTintColor: Colors.white, shadowColor: Colors.white, textStyle: TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 15), shape: RoundedRectangleBorder(side: BorderSide(color: Color(0xffE8E8E8), width: 1)), iconColor: Color(0xff181818)),
Implementation
const ContactListPageStyle({
this.appBarTheme = const AppBarTheme(
backgroundColor: Colors.white,
shadowColor: Colors.white,
surfaceTintColor: Colors.white,
titleTextStyle: TextStyle(
fontWeight: FontWeight.bold,
color: Color(0xff181818),
fontSize: 20),
iconTheme: IconThemeData(color: Color(0xff181818)),
actionsIconTheme: IconThemeData(color: Color(0xff181818))),
this.searchTextFieldStyle = const EditTextFieldStyle(),
this.actionTextStyle = const TextStyle(color: Colors.black),
this.contactItemStyle = const ContactItemStyle(
profileImageSize: Size(50, 50),
titleStyle: TextStyle(
fontWeight: FontWeight.w600,
color: Color(0xff181818),
fontSize: 14),
descriptionStyle: TextStyle(
fontWeight: FontWeight.normal,
color: Color(0xff767676),
fontSize: 12),
dividerColor: Color(0xffEBEBEB)),
this.noDataTextStyle = const TextStyle(
fontWeight: FontWeight.w600, color: Color(0xff767676), fontSize: 14),
this.buttonDecoration = const BoxDecoration(
color: AppColor.primaryColor,
shape: BoxShape.rectangle,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(2), topRight: Radius.circular(2))),
this.buttonTextStyle = const TextStyle(
fontWeight: FontWeight.w500,
color: Colors.white,
fontSize: 14,
),
this.buttonIconColor = Colors.white,
this.popupMenuThemeData = const PopupMenuThemeData(
color: Colors.white,
surfaceTintColor: Colors.white,
shadowColor: Colors.white,
textStyle: TextStyle(
fontWeight: FontWeight.w600,
color: Color(0xff181818),
fontSize: 15),
shape: RoundedRectangleBorder(
side: BorderSide(color: Color(0xffE8E8E8), width: 1)),
iconColor: Color(0xff181818)),
});