YTitleWidget function

Expanded YTitleWidget(
  1. String? title, {
  2. Color? navBarTitleColor,
})

标题组件

Implementation

Expanded YTitleWidget(String? title, {Color? navBarTitleColor}) => Expanded(child: Center(child: Text(title ?? "", style: TextStyle(color: navBarTitleColor ?? YConfig.navBarTitleColor, fontSize: 18, fontWeight: FontWeight.w700))));