YmAppBar constructor
YmAppBar(})
构造方法传入标题栏
Implementation
YmAppBar(
this.title, {
this.textColor = Colors.black,
this.background = const [
const Color(0xFF606FFF),
const Color(0xFF3446F2),
],
required this.onBackClick,
this.rightWidget,
this.textAlign = TextAlign.center,
});