build method

dynamic build(
  1. Brightness brightness
)

Implementation

build(Brightness brightness) {
  titleStyle = _titleStyle ??
      TextStyle(
        fontWeight: FontWeight.bold,
        fontSize: 34,
        color: brightness == Brightness.dark ? white : black,
      );
  TextStyle();
  descriptionStyle = _descriptionStyle ??
      TextStyle(
          color: Color(0xffaaacb1),
          fontSize: 22,
          fontWeight: FontWeight.w400);
  bodyTextStyle = _bodyTextStyle ??
      TextStyle(
          color: brightness == Brightness.dark ? white : black, fontSize: 15);
  TextStyle();
  loginButtonTextStyle = _loginButtonTextStyle ??
      TextStyle(
        color: brightness == Brightness.dark ? black : white,
        fontWeight: FontWeight.w500,
        fontSize: 16,
      );
  registerButtonTextStyle = _registerButtonTextStyle ??
      TextStyle(
        fontWeight: FontWeight.w500,
        color: brightness == Brightness.dark ? white : black,
        fontSize: 16,
      );
  labelStyle = _labelStyle ??
      TextStyle(
        letterSpacing: letterSpacing,
        fontWeight: FontWeight.bold,
        fontSize: 14,
        color: brightness == Brightness.dark ? white : black,
      );
}