Fyne API "widget.FormItem"

widget.FormItem


import "fyne.io/fyne/v2/widget"

Usage

type FormItem

type FormItem struct {
	Text   string
	Widget fyne.CanvasObject

	// Since: 2.0
	HintText string
}

FormItem provides the details for a row in a form

func NewFormItem

func NewFormItem(text string, widget fyne.CanvasObject) *FormItem

NewFormItem creates a new form item with the specified label text and input widget