View
Composable, which displays the entire UI for this Field. If you want to customize the UI, you can override this method in your PreviewLabField to customize the UI. However, in many cases where the UI is customized, overriding the content method is more appropriate.
Within the View method, you are responsible for determining whether to display the following
Display label header
The main UI of this Field (i.e., Content method)
In many cases, a header that displays the label is required. This means that it is tedious to override it every time. The Content method is preferred over the View method in many cases where the UI is customized because it allows the View to remain the same and only the main UI below the label to be customized.
If you are interested in customizing the PreviewLabField UI, please also see the Customizing Field UI documentation.