isThreeD property

bool isThreeD
final

when isThreeD is on then also give a color to the button or the 3d effect won't be visible cause the bottom will take the same color as the shadow color that is being used to have the 3d effect on the button this will allow us to basically have 4 default values for the shadow set it to true to get the 3d effect which in simple terms is basically box shadow

Implementation

final bool isThreeD;