info static method

DefinitionList info(
  1. Map<String, String> items
)

Creates a definition list with info styling.

Implementation

static DefinitionList info(Map<String, String> items) {
  return DefinitionList()
    ..items(items)
    ..termStyle(Style().bold().foreground(Colors.info))
    ..separatorStyle(Style().dim());
}