ProfileViewStyle constructor

const ProfileViewStyle({
  1. AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Color(0xffF2F2F2), centerTitle: true, 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. Size profileImageSize = const Size(144, 144),
  3. IconStyle cameraIconStyle = const IconStyle(iconColor: Colors.white, bgColor: Color(0xff2C2C2C), borderColor: Colors.white),
  4. EditTextFieldStyle nameTextFieldStyle = const EditTextFieldStyle(titleStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)), editTextHintStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff959595), fontSize: 16), editTextStyle: TextStyle(fontWeight: FontWeight.w600, color: Colors.black, fontSize: 16)),
  5. EditTextFieldStyle emailTextFieldStyle = const EditTextFieldStyle(titleStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)), editTextHintStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff959595), fontSize: 13), editTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 13)),
  6. EditTextFieldStyle mobileTextFieldStyle = const EditTextFieldStyle(titleStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)), editTextHintStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff959595), fontSize: 13), editTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 13)),
  7. EditTextFieldStyle statusTextFieldStyle = const EditTextFieldStyle(titleStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)), editTextHintStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff959595), fontSize: 13), editTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 13)),
  8. ButtonStyle buttonStyle = const ButtonStyle(),
  9. CardTheme bottomSheetCardTheme = const CardTheme(shape: RoundedRectangleBorder(borderRadius: BorderRadius.only(topLeft: Radius.circular(30), topRight: Radius.circular(30)))),
  10. TextStyle optionStyle = const TextStyle(),
  11. TextStyle optionsTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Color(0xff767676), fontSize: 14),
})

Implementation

const ProfileViewStyle({
  this.appBarTheme = const AppBarTheme(
    backgroundColor: Color(0xffF2F2F2),
    centerTitle: true,
    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.profileImageSize = const Size(144, 144),
  this.cameraIconStyle = const IconStyle(
      iconColor: Colors.white,
      bgColor: Color(0xff2C2C2C),
      borderColor: Colors.white),
  this.nameTextFieldStyle = const EditTextFieldStyle(
      titleStyle:
          TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)),
      editTextHintStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff959595),
          fontSize: 16),
      editTextStyle: TextStyle(
          fontWeight: FontWeight.w600, color: Colors.black, fontSize: 16)),
  this.emailTextFieldStyle = const EditTextFieldStyle(
      titleStyle:
          TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)),
      editTextHintStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff959595),
          fontSize: 13),
      editTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff767676),
          fontSize: 13)),
  this.mobileTextFieldStyle = const EditTextFieldStyle(
      titleStyle:
          TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)),
      editTextHintStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff959595),
          fontSize: 13),
      editTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff767676),
          fontSize: 13)),
  this.statusTextFieldStyle = const EditTextFieldStyle(
      titleStyle:
          TextStyle(fontWeight: FontWeight.normal, color: Color(0xff181818)),
      editTextHintStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff959595),
          fontSize: 13),
      editTextStyle: TextStyle(
          fontWeight: FontWeight.normal,
          color: Color(0xff767676),
          fontSize: 13)),
  this.buttonStyle = const ButtonStyle(),
  this.bottomSheetCardTheme = const CardTheme(
    shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.only(
            topLeft: Radius.circular(30), topRight: Radius.circular(30))),
  ),
  this.optionStyle = const TextStyle(),
  this.optionsTextStyle = const TextStyle(
      fontWeight: FontWeight.bold, color: Color(0xff767676), fontSize: 14),
});