decoration property

Returns the decoration (background, border, shadows) based on button state.

Implementation

ButtonStateProperty<Decoration> get decoration;