style constant

PropDef<ButtonStyle> const style

The button's look (Flutter's ButtonStyle): backgroundColor, foregroundColor (the label and icon), textStyle, shape, side, padding. A button's colors are here, not in decoration.

Implementation

static const style = PropDef<ButtonStyle>('style', ButtonStyleFields.codec, ButtonStyle.empty);