elevatedButton static method

String elevatedButton({
  1. required ColorScheme colorScheme,
})

Build the CSS for buttons

Implementation

static String elevatedButton({required ColorScheme colorScheme}) => elementCss(
  selector: '.note-btn',
  properties: {
    'background-color': hexFromColor(color: colorScheme.primary),
    'color': hexFromColor(color: colorScheme.onPrimary),
    'border-color': hexFromColor(color: colorScheme.inversePrimary),
  },
);