component

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Button = &widget.Clickable{}
View Source
var ButtonTwitch = &widget.Clickable{}
View Source
var Container = layout.Rigid
View Source
var DefaultTheme = NewTheme(gofont.Collection())
View Source
var Editor = &widget.Editor{
	SingleLine: true,
	Submit:     true,
}
View Source
var Row = func(w layout.Widget) layout.FlexChild {
	return layout.Flexed(2, w)
}

Functions

func NewColor

func NewColor(hexa uint32) color.NRGBA

func SpacerVertical

func SpacerVertical(dp unit.Dp) layout.FlexChild

Types

type ComponentTheme

type ComponentTheme struct {
	*material.Theme
	TextColor   color.NRGBA
	ButtonColor color.NRGBA
}

func NewTheme

func NewTheme(font []text.FontFace) *ComponentTheme

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL