Documentation
¶
Index ¶
- func New(children []application.BaseWidget, opts ...Option) application.BaseWidget
- type Option
- func Class(class string) Option
- func CrossAxisAlignment(crossAxisAlignment theme.AxisAlignmentType) Option
- func Flex(flex int) Option
- func Gap(gap int) Option
- func ID(id string) Option
- func MainAxisAlignment(mainAxisAlignment theme.AxisAlignmentType) Option
- func MainAxisSize(mainAxisSize theme.AxisSizeType) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(children []application.BaseWidget, opts ...Option) application.BaseWidget
Types ¶
type Option ¶
type Option func(center *row)
func CrossAxisAlignment ¶
func CrossAxisAlignment(crossAxisAlignment theme.AxisAlignmentType) Option
func MainAxisAlignment ¶
func MainAxisAlignment(mainAxisAlignment theme.AxisAlignmentType) Option
func MainAxisSize ¶
func MainAxisSize(mainAxisSize theme.AxisSizeType) Option
Click to show internal directories.
Click to hide internal directories.