Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corners appear black when using border radius for icon and overlay with opacity #282

Open
VijayMeenaRI opened this issue Nov 9, 2022 · 0 comments

Comments

@VijayMeenaRI
Copy link

VijayMeenaRI commented Nov 9, 2022

Screenshot_1667981752

SpeedDial(
buttonSize: Size(50.0, 50),
backgroundColor: Colors.blue,
curve: Curves.bounceInOut,
overlayColor: Colors.black,
overlayOpacity: 0.4,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.5.r)),
icon: Icons.add,
activeIcon: Icons.close,
elevation: 0,
spacing: 13,
animationDuration: Duration(milliseconds: 5),
iconTheme: IconThemeData(color: Colors.white, size: 32),
children: [
SpeedDialChild(
labelWidget: Container(
height: 35.h,
alignment: Alignment.center,
padding: EdgeInsets.symmetric(horizontal: 14.w, vertical: 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(7), color: Colors.blue),
child: CustomText(text: 'Add', fontStyle: FontStyle.C5),
),
onTap: () => print('Add')),
SpeedDialChild(
labelWidget: Container(
height: 35.h,
alignment: Alignment.center,
padding: EdgeInsets.symmetric(horizontal: 14.w, vertical: 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(7), color: Colors.blue),
child: CustomText(text: 'Edit', fontStyle: FontStyle.C5),
),
onTap: () => print('Edit')),
SpeedDialChild(
labelWidget: Container(
height: 35.h,
alignment: Alignment.center,
padding: EdgeInsets.symmetric(horizontal: 14.w, vertical: 7.h),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(7), color: Colors.blue),
child: CustomText(text: 'Delete', fontStyle: FontStyle.C5),
),
onTap: () => print('Delete')),
],
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant