AppBar
导航栏
YmAppBar("AppBar自定义",
background:[
const Color(0xFF606FFF),
const Color(0xFF3446F2),
],onBackClick: goBack,textColor: Colors.white,),
YmAppBar("AppBar自定义",
background:[
const Color(0xFF606FFF),
const Color(0xFF3446F2),
],onBackClick: goBack,textColor: Colors.white,
textAlign: TextAlign.left,
rightWidget: YmTextButton(
"扫一扫",
textColor:Color(0xFFFFFFFF),
backgroundColor: Colors.transparent,
pressedBackgroundColor: Color(0x50606FFF),
size: Size(90,40),
onClick: (){
print("扫一扫");
}
),
),
本站内容来源于作者发布和网络转载,如有版权相关问题请及时与我们取得联系,我们将立即删除。