area

fun area(value: () -> Property)

This function is used to set the name of an area part of the grid layout via the grid-area property.

example calls:

area { "FOO" }
// better approach using an ``object`` (or other container)
area { grid.FOO }

See also

GridLayout.areas

for a detailed explanation of the management of names and string literals within this context.

Parameters

value

extension function parameter to get an arbitrary area name back