var content: Content
The content that the modifier transforms into a new view or new view modifier.
var modifier: Modifier
The view modifier.
Availability 有効性
Technology
init(content: Content, modifier: Modifier)
content
The content that the modifier changes.
modifier
The modifier to apply to the content.
If content
is a View
and modifier
is a View
, the result is a View
. If content
and modifier
are both view modifiers, then the result is a new View
combining them.
var content: Content
var modifier: Modifier