import "fyne.io/fyne/v2"
  

Usage

type TextStyle

  type TextStyle struct {
	Bold      bool // Should text be bold
	Italic    bool // Should text be italic
	Monospace bool // Use the system monospace font instead of regular
	// Since: 2.2
	Symbol bool // Use the system symbol font.
	// Since: 2.1
	TabWidth int // Width of tabs in spaces
	// Since: 2.5
	Underline bool // Should text be underlined.
	// Since: 2.8
	Strikethrough bool // Should text be struck through.
}
  

TextStyle represents the styles that can be applied to a text canvas object or text based widget.