ContactListPageStyle constructor

const ContactListPageStyle({
  1. 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))),
  2. EditTextFieldStyle searchTextFieldStyle = const EditTextFieldStyle(),
  3. TextStyle actionTextStyle = const TextStyle(color: Colors.black),
  4. 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)),
  5. TextStyle noDataTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff767676), fontSize: 14),
  6. Decoration buttonDecoration = const BoxDecoration(color: AppColor.primaryColor, shape: BoxShape.rectangle, borderRadius: BorderRadius.only(topLeft: Radius.circular(2), topRight: Radius.circular(2))),
  7. TextStyle buttonTextStyle = const TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 14),
  8. Color buttonIconColor = Colors.white,
  9. 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)),
});