build method

dynamic build(
  1. Brightness brightness
)

Implementation

build(Brightness brightness) {
  titleStyle = _titleStyle ??
      TextStyle(
        fontWeight: FontWeight.bold,
        fontSize: 30,
        color: brightness == Brightness.dark ? white : black,
      );
  TextStyle();
  descriptionStyle = _descriptionStyle ??
      TextStyle(
          color: Color(0xffaaacb1),
          fontSize: 20,
          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.w600,
        fontSize: 16,
      );
  registerButtonTextStyle = _registerButtonTextStyle ??
      TextStyle(
        fontWeight: FontWeight.w600,
        color: brightness == Brightness.dark ? white : black,
        fontSize: 16,
      );
  labelStyle = _labelStyle ??
      TextStyle(
        fontWeight: FontWeight.w600,
        fontSize: 14,
        color: brightness == Brightness.dark ? white : black,
      );
}