glossKeyTheme function

GlossStyle? glossKeyTheme(
  1. GlossThemeData theme,
  2. GlossKeyKind kind
)

The part theme over a key of kind in theme.

Implementation

GlossStyle? glossKeyTheme(GlossThemeData theme, GlossKeyKind kind) =>
    switch (kind) {
      GlossKeyKind.pearl => theme.buttonStyle,
      GlossKeyKind.gel => theme.filledButtonStyle,
      GlossKeyKind.text => theme.textButtonStyle,
    };