Answers for "form color in swiftui"

0

swiftui change form section color

Form {
    Section(header: Text("User Details")) {
         Text("Name:").background(Color.red)
         Text("Email:").foregroundColor(Color.red)
    }.listRowBackground(Color.green)
}
Posted by: Guest on April-22-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language