Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

button color swiftui

Button(action: {self.buttonTapped()}) {
  Text("Button")
   		.padding(.all, 12)
  		.foregroundColor(.white)
  		.background(Color.red)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #button #color #swiftui
ADD COMMENT
Topic
Name
1+8 =