Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuoUIcounter

type DuoUIcounter struct {
	Value           int
	OperateValue    int
	From            int
	To              int
	PageFunction    func()
	CounterInput    *widget.Editor
	CounterIncrease *widget.Clickable
	CounterDecrease *widget.Clickable
	CounterReset    *widget.Clickable
}

func (*DuoUIcounter) Decrease

func (c *DuoUIcounter) Decrease()

func (*DuoUIcounter) Increase

func (c *DuoUIcounter) Increase()

func (*DuoUIcounter) Reset

func (c *DuoUIcounter) Reset()

type DuoUIcounterStyle

type DuoUIcounterStyle struct {
	Font       text.Font
	TextSize   unit.Value
	TxColor    string
	BgColor    string
	BtnBgColor string
	// contains filtered or unexported fields
}

func DuoUIcounterSt

func DuoUIcounterSt(t *theme.DuoUItheme, cc *DuoUIcounter) DuoUIcounterStyle

func (DuoUIcounterStyle) Layout

func (c DuoUIcounterStyle) Layout(g layout.Context, th *material.Theme, label, value string) func(gtx layout.Context) layout.Dimensions