pageTitle method
Implementation
TextStyle? pageTitle([TemplateRF? template]) {
switch (TemplateRF.get(template)!.name) {
case TemplateNameRF.modern:
return TextStyle(
color: template?.style?.textColor ??
clientStyle?.pageTitle?.textColor ??
Colors.black54,
fontSize: template?.style?.fontSize ??
clientStyle?.pageTitle?.fontSize ??
20,
fontWeight: clientStyle?.pageTitle?.fontWeight ?? FontWeight.bold,
fontFamily: clientStyle?.pageTitle?.fontFamily ?? 'Roboto',
letterSpacing: 1,
decoration: TextDecoration.none,
);
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;
}