update fab style

master
小赖 4 years ago
parent a5ab3afd80
commit f1b9d7b8c1

@ -98,19 +98,24 @@ class _FabButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ClipOval(
child: Container(
return Container(
decoration: BoxDecoration(
color: Colors.blueAccent.withOpacity(0.4),
color: Theme.of(context).accentColor,
borderRadius: BorderRadius.circular(25),
boxShadow: [
BoxShadow(
offset: Offset(0, 3),
color: Colors.black12,
blurRadius: 4,
)
],
),
height: 50,
width: 50,
height: 48,
width: 48,
child: Icon(
Icons.code,
color: Colors.white70,
),
),
);
}
}

Loading…
Cancel
Save