Skip to main content

text_editor

Function text_editor 

Source
pub fn text_editor(value: &str) -> View
Expand description

TextEditor(text:) showing a fixed string, which the user cannot edit.

As with textfield, the string becomes a Binding.constant and SwiftUI treats that as read-only.