flutter_speed_dial icon indicating copy to clipboard operation
flutter_speed_dial copied to clipboard

How to remove boxshadow from SpeedDialChild

Open ziqq opened this issue 2 years ago • 1 comments

How to remove boxshadow from SpeedDialChild, labelShadow set empty list is not working.

image

SpeedDialChild( labelShadow: [], child: Container( padding: const EdgeInsets.all(12), child: SvgPicture.asset( 'assets/icons/client_add.svg', color: Colors.white, ), ), label: 'Добавить клиента', foregroundColor: Colors.white, backgroundColor: Theme.of(context).colorScheme.secondary, labelBackgroundColor: BBUiKitTheme.barrierColor, labelStyle: TextStyle( height: 1.1, fontSize: 13, color: Colors.white, ), onTap: () => showCupertinoModalBottomSheet( context: context, builder: (context) => ClientActionView(), ), )

ziqq avatar Jun 28 '22 12:06 ziqq

@ziqq I'm not sure to what the screenshot is pointing to, but I believe that what you need is the elevation property.

i.e. image

DzonaTheSymbol avatar Aug 17 '22 08:08 DzonaTheSymbol

@ziqq I hope the issue is fixed as told by @DzonaTheSymbol, you can set the elevation property to 0 for SpeedDialChild

prateekmedia avatar Oct 05 '22 18:10 prateekmedia