Flutter之ClipOval组件

/**
 *  圆形裁剪
 * ClipOval({
 * Key key,
 * this.clipper, //裁剪路径
 * this.clipBehavior = Clip.antiAlias,
 * Widget child
 * })
 */
body: Center(
            child: ClipOval(
              child: Image.asset(
                "images/app.png",
                width: 100.0,
                height: 100.0,
                fit: BoxFit.cover,
              ),
            ),
          )

码云地址:https://gitee.com/xgljh/Flutter.git

你可能感兴趣的:(Flutter之ClipOval组件)