header property
The header is the header of a helper request relating to a command.
Implementation
@override
NatrixHeader get header => NatrixHeader(
tooltip: NatrixColumn(
lines: NatrixText(context.cmd.tooltip).wrap(maxLineLength),
),
usage: usage.text,
description: context.cmd.hasTooltip()
? NatrixColumn(
lines: NatrixText(context.cmd.description).wrap(maxLineLength),
)
: NatrixBlock.empty(),
);