appTitle method

TextStyle? appTitle([
  1. dynamic template
])

Implementation

TextStyle? appTitle([dynamic template]) {
  switch (TemplateRF.get(template)!.name) {
    case TemplateNameRF.modern:
      return TextStyle(
        color: clientStyle?.appTitle?.textColor ?? Colors.pink[500],
        fontSize: clientStyle?.appTitle?.fontSize ?? 35,
        fontWeight: clientStyle?.appTitle?.fontWeight ?? FontWeight.bold,
        fontFamily:
            clientStyle?.appTitle?.fontFamily ?? 'Berlin Sans FB Demi Bold',
        //letterSpacing: 1,
        decoration: TextDecoration.none,
        shadows: [ShadowRF.shadow1PX],
      );
    case null:
    // TODO: Handle this case.
    case TemplateNameRF.material:
    // TODO: Handle this case.
    case TemplateNameRF.cupertino:
    // TODO: Handle this case.
    case TemplateNameRF.classic:
    // TODO: Handle this case.
  }
  return null;
}