diff --git a/lib/ui/widgets/shadows.dart b/lib/ui/widgets/shadows.dart index b30ead2..406e7a0 100644 --- a/lib/ui/widgets/shadows.dart +++ b/lib/ui/widgets/shadows.dart @@ -20,6 +20,7 @@ List _shadows({@required Color light, @required Color dark}) { return shadows; } +// Rounded rectangle ConcaveDecoration innerShadow(BuildContext context, {double radius = _radius}) { final _theme = Theme.of(context); @@ -45,18 +46,7 @@ BoxDecoration outerShadow(BuildContext context, {double radius = _radius}) { ); } -BoxDecoration outerShadowCircle(BuildContext context) { - final _theme = Theme.of(context); - return BoxDecoration( - shape: BoxShape.circle, - color: _theme.primaryColor, - boxShadow: _shadows( - light: _theme.primaryColorLight, - dark: _theme.primaryColorDark, - ), - ); -} - +// Circle BoxDecoration innerShadowCircle(BuildContext context) { final _theme = Theme.of(context); return BoxDecoration( @@ -71,3 +61,15 @@ BoxDecoration innerShadowCircle(BuildContext context) { ], ); } + +BoxDecoration outerShadowCircle(BuildContext context) { + final _theme = Theme.of(context); + return BoxDecoration( + shape: BoxShape.circle, + color: _theme.primaryColor, + boxShadow: _shadows( + light: _theme.primaryColorLight, + dark: _theme.primaryColorDark, + ), + ); +} \ No newline at end of file