flutter设置圆角有宽高按钮

Container(
      margin: EdgeInsets.symmetric(horizontal: kSet_Height(10)),
      height: kSet_Height(40),
      width: double.infinity,
      child: RaisedButton(
        shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.circular(kSet_Height(3)),
        ),
        color: AppColors.kColor_NavgationBar,
        child: Text("退出登录",style: TextStyle(color: Colors.white,fontSize: kSet_SizeFont(16)),),
        onPressed: (){
         loginout(context);
        },
      ),
    )

你可能感兴趣的:(flutter设置圆角有宽高按钮)