Fyne API "widget.AccordionItem"

widget.AccordionItem


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

Usage

type AccordionItem

type AccordionItem struct {
	Title  string
	Detail fyne.CanvasObject
	Open   bool
}

AccordionItem represents a single item in an Acc rdion.

func NewAccordionItem

func NewAccordionItem(title string, detail fyne.CanvasObject) *AccordionItem

NewAccordionItem creates a new item for an Accordion.