SwiftstructSwiftUI
struct SwiftUI.Badge
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 7
- field
var _appearsActive: SwiftUI.Environment<Bool> - field
var _backgroundProminence: SwiftUI.Environment<SwiftUI.BackgroundProminence> - field
var _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize> - field
var _pixelLength: SwiftUI.Environment<CoreGraphics.CGFloat> - field
var _prominence: SwiftUI.Environment<SwiftUI.BadgeProminence> - field
var label: A - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<A, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<SwiftUI.Font>>>, SwiftUI._ForegroundStyleModifier<SwiftUI.AnyShapeStyle>>, SwiftUI._PaddingLayout>, SwiftUI._FlexFrameLayout>, SwiftUI._FrameLayout>, SwiftUI._InsettableBackgroundShapeModifier<SwiftUI.AnyShapeStyle, SwiftUI.Capsule>>, SwiftUI.AccessibilityAttachmentModifier>
Header
struct Badge<A> where A: SwiftUI.View { var label: A // synthesized from the backing storage `_prominence`; the property's own accessors are stripped @SwiftUI.Environment var prominence: SwiftUI.BadgeProminence { get } // synthesized from the backing storage `_backgroundProminence`; the property's own accessors are stripped @SwiftUI.Environment var backgroundProminence: SwiftUI.BackgroundProminence { get } // synthesized from the backing storage `_appearsActive`; the property's own accessors are stripped @SwiftUI.Environment var appearsActive: Swift.Bool { get } // synthesized from the backing storage `_dynamicTypeSize`; the property's own accessors are stripped @SwiftUI.Environment var dynamicTypeSize: SwiftUI.DynamicTypeSize { get } // synthesized from the backing storage `_pixelLength`; the property's own accessors are stripped @SwiftUI.Environment var pixelLength: CoreGraphics.CGFloat { get } }