Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PagerButton ¶
type PagerButton struct {
Title string
}
func (*PagerButton) OptionKey ¶
func (t *PagerButton) OptionKey() string
type PagerView ¶
func NewPagerView ¶
func NewPagerView() *PagerView
NewPagerView returns a new view. ViewPager and PagerTabStrip.
type Pages ¶
type Pages struct {
// contains filtered or unexported fields
}
Pages represents a list of views to be shown in the PagerView. It can be manipulated outside of a Build() call.
func (*Pages) SelectedIndex ¶
SelectedIndex returns the index of the selected tab.
func (*Pages) SelectedView ¶
func (*Pages) SetSelectedIndex ¶
SetSelectedIndex selects the tab at idx.
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Stack represents a list of views to be shown in the StackView. It can be manipulated outside of a Build() call.
type StackBar ¶
type StackBar struct {
Title string
StyledTitle *text.StyledText
Subtitle string
StyledSubtitle *text.StyledText
Color color.Color
Items []*StackBarItem
}
type StackBarItem ¶
type StackBarItem struct {
Title string
StyledTitle *text.StyledText
Icon image.Image
IconTint color.Color
Enabled bool
OnPress func()
}
func NewStackBarItem ¶
func NewStackBarItem() *StackBarItem
type StatusBar ¶
type StatusBar struct {
Style StatusBarStyle
Color color.Color
}
If multiple views have a statusBar, the most recently mounted one will be used. UIViewControllerBasedStatusBarAppearance must be set to False in the app's Info.plist to use this component.
return view.Model{
Options: []view.Option{
&android.StatusBar{ Color: colornames.Red },
},
}
type StatusBarStyle ¶
type StatusBarStyle int
const ( // Statusbar with light icons StatusBarStyleLight StatusBarStyle = iota // Statusbar with dark icons StatusBarStyleDark )
Click to show internal directories.
Click to hide internal directories.