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

Usage

type Separator

  type Separator struct {
	BaseWidget
}
  

Separator is a widget for displaying a separator with themeable color.

Since: 1.4

func NewSeparator

  func NewSeparator() *Separator
  

NewSeparator creates a new separator.

Since: 1.4

func (*Separator) CreateRenderer

  func (s *Separator) CreateRenderer() fyne.WidgetRenderer
  

CreateRenderer returns a new renderer for the separator.

func (*Separator) MinSize

  func (s *Separator) MinSize() fyne.Size
  

MinSize returns the minimal size of the separator.