LocalContactPageStyle constructor

const LocalContactPageStyle({
  1. AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Color(0xffF2F2F2), shadowColor: Colors.white, surfaceTintColor: Colors.white, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Color(0xff181818), fontSize: 15), toolbarTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818), fontSize: 12), iconTheme: IconThemeData(color: Color(0xff181818)), actionsIconTheme: IconThemeData(color: Color(0xff181818))),
  2. EditTextFieldStyle searchTextFieldStyle = const EditTextFieldStyle(),
  3. TextStyle noDataTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 14),
  4. LocalContactItem contactItemStyle = const LocalContactItem(profileImageSize: Size(35, 35)),
  5. LocalContactItem selectedContactItemStyle = const LocalContactItem(profileImageSize: Size(44, 44)),
  6. FloatingActionButtonThemeData floatingActionButtonThemeData = const FloatingActionButtonThemeData(backgroundColor: AppColor.primaryColor, foregroundColor: Colors.white, elevation: 12, iconSize: 21, shape: CircleBorder()),
})

Implementation

const LocalContactPageStyle(
    {this.appBarTheme = const AppBarTheme(
      backgroundColor: Color(0xffF2F2F2),
      shadowColor: Colors.white,
      surfaceTintColor: Colors.white,
      titleTextStyle: TextStyle(
          fontWeight: FontWeight.bold,
          color: Color(0xff181818),
          fontSize: 15),
      toolbarTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff181818),
          fontSize: 12),
      iconTheme: IconThemeData(color: Color(0xff181818)),
      actionsIconTheme: IconThemeData(color: Color(0xff181818)),
    ),
    this.searchTextFieldStyle = const EditTextFieldStyle(),
    this.noDataTextStyle = const TextStyle(
        fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 14),
    this.contactItemStyle =
        const LocalContactItem(profileImageSize: Size(35, 35)),
    this.selectedContactItemStyle =
        const LocalContactItem(profileImageSize: Size(44, 44)),
    this.floatingActionButtonThemeData = const FloatingActionButtonThemeData(
        backgroundColor: AppColor.primaryColor,
        foregroundColor: Colors.white,
        elevation: 12,
        iconSize: 21,
        shape: CircleBorder())});