Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DividerStyle ¶
type DividerStyle struct { Thickness unit.Dp Fill color.NRGBA layout.Inset Subheading material.LabelStyle SubheadingInset layout.Inset }
DividerStyle defines the presentation of a material divider, as specified here: https://material.io/components/dividers
func Divider ¶
func Divider(th *material.Theme) DividerStyle
Divider creates a simple full-bleed divider.
func (DividerStyle) Layout ¶
func (d DividerStyle) Layout(gtx layout.Context) layout.Dimensions
Click to show internal directories.
Click to hide internal directories.