boxShadow method
Implementation
List<BoxShadow> boxShadow(BuildContext context) {
switch (this) {
case OneButtonHierarchy.primary:
case OneButtonHierarchy.secondaryGray:
case OneButtonHierarchy.secondaryColor:
return context.shadow.get(OneShadowSize.skeumorphic);
case OneButtonHierarchy.tertiaryGray:
case OneButtonHierarchy.tertiaryColor:
case OneButtonHierarchy.linkGray:
case OneButtonHierarchy.linkColor:
return [];
}
}