errorFullWidth static method

StyledBlock errorFullWidth(
  1. String message
)

Creates a full-width error block.

Implementation

static StyledBlock errorFullWidth(String message) => StyledBlock()
  ..error()
  ..fullWidth()
  ..message(message);