ChatInfoPageStyle constructor

const ChatInfoPageStyle({
  1. AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Colors.white, shadowColor: Colors.white, surfaceTintColor: Colors.white, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Color(0xff181818), fontSize: 20), elevation: 0, actionsIconTheme: IconThemeData(color: Color(0xff181818))),
  2. TextStyle silverAppbarTitleStyle = const TextStyle(fontWeight: FontWeight.w600, color: Colors.white, fontSize: 18),
  3. TextStyle silverAppBarSubTitleStyle = const TextStyle(fontWeight: FontWeight.w300, color: Colors.white, fontSize: 10),
  4. Color silverAppBarIconColor = Colors.white,
  5. MuteNotificationStyle muteNotificationStyle = const MuteNotificationStyle(textStyle: TextStyle(fontWeight: FontWeight.w500, color: Color(0xff181818), fontSize: 14), toggleStyle: ToggleStyle(activeColor: Colors.white, inactiveColor: Colors.white, activeToggleColor: Colors.blue, inactiveToggleColor: Colors.grey)),
  6. ListItemStyle optionsViewStyle = const ListItemStyle(leadingIconColor: Color(0xff181818), titleTextStyle: TextStyle(fontWeight: FontWeight.w500, color: Color(0xff181818), fontSize: 14), descriptionTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 13), dividerColor: Color(0xffFAFAFA)),
  7. ListItemStyle viewAllMediaStyle = const ListItemStyle(leadingIconColor: Color(0xff181818), titleTextStyle: TextStyle(fontWeight: FontWeight.w500, color: Color(0xff181818), fontSize: 14), trailingIconColor: Color(0xff767676), dividerColor: Color(0xffFAFAFA)),
  8. ListItemStyle reportUserStyle = const ListItemStyle(leadingIconColor: Color(0xffFF3939), titleTextStyle: TextStyle(fontWeight: FontWeight.w500, color: Color(0xffFF3939), fontSize: 14), dividerColor: Color(0xffFAFAFA)),
})

Implementation

const ChatInfoPageStyle({
  this.appBarTheme = const AppBarTheme(
      backgroundColor: Colors.white,
      shadowColor: Colors.white,
      surfaceTintColor: Colors.white,
      titleTextStyle: TextStyle(
          fontWeight: FontWeight.bold,
          color: Color(0xff181818),
          fontSize: 20),
      elevation: 0,
      actionsIconTheme: IconThemeData(color: Color(0xff181818))),
  this.silverAppbarTitleStyle = const TextStyle(
      fontWeight: FontWeight.w600, color: Colors.white, fontSize: 18),
  this.silverAppBarSubTitleStyle = const TextStyle(
      fontWeight: FontWeight.w300, color: Colors.white, fontSize: 10),
  this.silverAppBarIconColor = Colors.white,
  this.muteNotificationStyle = const MuteNotificationStyle(
      textStyle: TextStyle(
          fontWeight: FontWeight.w500,
          color: Color(0xff181818),
          fontSize: 14),
      toggleStyle: ToggleStyle(
        activeColor: Colors.white,
        inactiveColor: Colors.white,
        activeToggleColor: Colors.blue,
        inactiveToggleColor: Colors.grey,
      )),
  this.optionsViewStyle = const ListItemStyle(
      leadingIconColor: Color(0xff181818),
      titleTextStyle: TextStyle(
          fontWeight: FontWeight.w500,
          color: Color(0xff181818),
          fontSize: 14),
      descriptionTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff767676),
          fontSize: 13),
      dividerColor: Color(0xffFAFAFA)),
  this.viewAllMediaStyle = const ListItemStyle(
      leadingIconColor: Color(0xff181818),
      titleTextStyle: TextStyle(
          fontWeight: FontWeight.w500,
          color: Color(0xff181818),
          fontSize: 14),
      trailingIconColor: Color(0xff767676),
      dividerColor: Color(0xffFAFAFA)),
  this.reportUserStyle = const ListItemStyle(
      leadingIconColor: Color(0xffFF3939),
      titleTextStyle: TextStyle(
          fontWeight: FontWeight.w500,
          color: Color(0xffFF3939),
          fontSize: 14),
      dividerColor: Color(0xffFAFAFA)),
});