效果圖
RaisedButton(
onPressed: () {},
textColor: Colors.white,
clipBehavior: Clip.hardEdge,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(22.0))),
padding: const EdgeInsets.all(0.0),
child: Container(
width: 260,
height: 44,
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: <Color>[
Color(0xff25D1D1),
Color(0xff3BE6AD),
Color(0xff20DDAA)
],
),
),
padding: const EdgeInsets.all(10.0),
child: Container(
alignment: Alignment.center,
child: Text('立即申請(qǐng)')),
),
),