update fab style

master
小赖 4 years ago
parent a5ab3afd80
commit f1b9d7b8c1

@ -98,18 +98,23 @@ 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: Theme.of(context).accentColor,
color: Colors.blueAccent.withOpacity(0.4), borderRadius: BorderRadius.circular(25),
borderRadius: BorderRadius.circular(25), boxShadow: [
), BoxShadow(
height: 50, offset: Offset(0, 3),
width: 50, color: Colors.black12,
child: Icon( blurRadius: 4,
Icons.code, )
color: Colors.white70, ],
), ),
height: 48,
width: 48,
child: Icon(
Icons.code,
color: Colors.white70,
), ),
); );
} }

Loading…
Cancel
Save