pageSubTitle method
TextStyle?
pageSubTitle(
[ - dynamic template
])
Implementation
TextStyle? pageSubTitle([dynamic template]) {
switch (TemplateRF.get(template)!.name) {
case TemplateNameRF.modern:
return TextStyle(
color: template?.style?.textColor ??
clientStyle?.pageSubTitle?.textColor ??
Colors.black54,
fontSize: template?.style?.fontSize ??
clientStyle?.pageSubTitle?.fontSize ??
18,
fontWeight: clientStyle?.pageSubTitle?.fontWeight ?? FontWeight.bold,
fontFamily: clientStyle?.pageSubTitle?.fontFamily ?? 'Raleway',
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;
}