在实现以下设计时我遇到了问题

时间:2019-03-31 14:56:28

标签: android ios flutter flutter-layout flutter-test

我是新手,在剪裁并尝试从容器中获取特定设计时我卡住了。我需要您的帮助才能实现以下UI,实际上需要实现设计。

return Column(
  children: <Widget>[
    SizedBox(height: 120),
    Center(
      child: ClipPath(
        clipper: SignInBoxClipper(),
        child: Container(
          width: 280,
          height: 120,
          decoration: BoxDecoration(
              borderRadius: BorderRadius.all(Radius.circular(6)),
              gradient: RadialGradient(
                colors: [
                  Color.fromRGBO(65, 175, 250, 1),
                  Color.fromRGBO(175, 136, 246, 1),
                ],
                radius: 1.3,
                center: Alignment(-0.9, .5),
              )),
        ),
      ),
    )
  ],
);

1 个答案:

答案 0 :(得分:0)

上传新图像,该图像不可用。