我是 flutter 新手,我只是在剪切并尝试从容器中获取特定设计时陷入困境。我需要你的帮助来实现以下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),
)),
),
),
)
],
);
最佳答案
上传新图片,此功能不可用。
关于android - 我在 flutter 中实现以下设计时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55442186/