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