buildIf(_:)
Produces an optional widget for conditional statements in multi-statement closures that’s only visible when the condition evaluates to true.
Declaration
static func buildIf<C>(_ content: C?) -> C? where C : CommandsProduces an optional widget for conditional statements in multi-statement closures that’s only visible when the condition evaluates to true.
static func buildIf<C>(_ content: C?) -> C? where C : Commands