decoration: new BoxDecoration(
gradient: new LinearGradient(colors: [const Color(0xFF143656),const Color(0xFFB0BEC5)],
begin: FractionalOffset.topLeft,
end: FractionalOffset.bottomRight,
stops: [0.0,1.0],
tileMode: TileMode.clamp
),
),
///以上代码添加了LinearGradient
child: IconButton(
padding: EdgeInsets.all(0.0),
icon: new Image.asset('images/google_plus.png',height: 45.0,width: 45.0,),
onPressed: () {
//_nextPage(1);
},
),