titleText function

dynamic titleText({
  1. dynamic title,
  2. dynamic color,
  3. dynamic size,
})

Implementation

titleText({title, color, size}) {
  return commonText(title ?? "",
      fontSize: size ?? font_30, color: color ?? black);
}