Returns the decoration based on the severity level.
final InfoBarSeverityCheck<Decoration?>? decoration;