closeButton static method

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

Build CSS for close (X) buttons

Implementation

static String closeButton({required ColorScheme colorScheme}) => elementCss(
      selector: ".close",
      properties: {
        'color': hexFromColor(color: colorScheme.onSurface),
      },
    );