diff --git a/lib/src/screens/dashboard/widgets/action_button.dart b/lib/src/screens/dashboard/widgets/action_button.dart index 66d16c5eb..fecbbd17e 100644 --- a/lib/src/screens/dashboard/widgets/action_button.dart +++ b/lib/src/screens/dashboard/widgets/action_button.dart @@ -23,36 +23,37 @@ class ActionButton extends StatelessWidget { .display3 .backgroundColor; - return Container( - padding: EdgeInsets.only(top: 14, bottom: 16, left: 10, right: 10), - alignment: alignment, - child: Column( - mainAxisSize: MainAxisSize.max, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - GestureDetector( - onTap: () { - if (route?.isNotEmpty ?? false) { - Navigator.of(context, rootNavigator: true).pushNamed(route); - } else { - onClick?.call(); - } - }, - child: Container( + return GestureDetector( + onTap: () { + if (route?.isNotEmpty ?? false) { + Navigator.of(context, rootNavigator: true).pushNamed(route); + } else { + onClick?.call(); + } + }, + child: Container( + color: Colors.transparent, + padding: EdgeInsets.only(top: 14, bottom: 16, left: 10, right: 10), + alignment: alignment, + child: Column( + mainAxisSize: MainAxisSize.max, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( alignment: Alignment.center, decoration: BoxDecoration( shape: BoxShape.circle), child: image, ), - ), - SizedBox(height: 4), - Text( - title, - style: TextStyle( - fontSize: 10, - color: _textColor), - ) - ], + SizedBox(height: 4), + Text( + title, + style: TextStyle( + fontSize: 10, + color: _textColor), + ) + ], + ), ), ); }