for giving the custom box shadow to the button you can have this
final List<BoxShadow>? customBoxShadow;