The item() function adjusts a flex item. Unlike flex(), which adjusts
the flex box layout through the flex container element, item() is used to
change specific flex items. A flex item may be reordered, expanded, or
shrunk.
Usage
item(
x,
align = "stretch",
order = NULL,
fill = NULL,
grow = NULL,
shrink = NULL
)
One of "auto", "start", "end", "center", "baseline", or "stretch" specifying how to align the item
on the cross axis, defaults to "stretch". Overrides the flex()align
argument.
One of 0, 1, 2, 3, 4, 5, 6, or 7 specifying the order of the item, defaults to
1. Items of the same order are then sorted by their source code
order. Defaults to NULL, in which case the argument is ignored.
If TRUE, the flex parent element's horizontal space is divided
proportionally amongst this tag element and all other flex items with fill = TRUE, defaults to NULL, in which case the argument is ignored.