resolveTitleColor method

MiuixBasicComponentColors resolveTitleColor(
  1. bool selected
)

根据 selected 返回当前标题颜色。

Implementation

MiuixBasicComponentColors resolveTitleColor(bool selected) =>
    selected ? selectedTitleColor : titleColor;