update fab style

master
小赖 4 years ago
parent a5ab3afd80
commit f1b9d7b8c1

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

Loading…
Cancel
Save