GlossStyle typedef

GlossStyle = DesignStyle

How one part of Gloss looks, as Material's ButtonStyle is: every slot a WidgetStateProperty, read from a part's style: first, then from its part theme on GlossThemeData, then from the look's own default.

A part reads fill as its glaze's middle colour, foreground as its words and glyphs, edge as the rim round its glaze, shape as its outline, padding, minimumSize, textStyle and iconSize as Material's buttons do.

final roomy = GlossStyle(padding: const WidgetStatePropertyAll(EdgeInsets.symmetric(horizontal: 32)));

Implementation

typedef GlossStyle = DesignStyle;