boxShadow method
Implementation
List<BoxShadow> boxShadow(BuildContext context) {
switch (this) {
case OneButtonDestructiveHierarchy.primary:
case OneButtonDestructiveHierarchy.secondary:
return context.shadow.get(OneShadowSize.skeumorphic);
case OneButtonDestructiveHierarchy.tertiary:
case OneButtonDestructiveHierarchy.link:
return [];
}
}