This package provides various material design components for gio.
This package has no stable API, and should always be locked to a particular commit with go modules.
The included components attempt to conform to the material design specifications whenever possible, but they may not support unusual style tweaks or especially exotic configurations.
The list of currently-Implemented components follows:
The navigation drawer specified here is mostly implemented by the type
NavDrawer, and the modal variant can be created with a
ModalNavDrawer. The modal variant looks like this:
The App Bar specified here is mostly implemented by the type
AppBar. It looks like this:
Side sheets (specified here) are implemented by the
Text Fields (specified here) are implemented by the
Divider type implements material dividers. You can customize the insets
embedded in the type to change which kind of divider it is. Use the constructor
functions to create nice defaults.
Surface type is a rounded rectangle with a background color and a drop
shadow. This isn't a material component per se, but is a useful building block
Menu type defines contextual menus as described here.
MenuItem type provides widgets suitable for use within the Menu, though
any widget can be used. Here are some
MenuItems in action:
ContextArea type is a helper type that defines an area that accepts
right-clicks. This area will display a widget when clicked (anchored at the
click position). The displayed widget is overlaid on other content, and is
therefore useful in displaying contextual menus.