gowaku guides
These guides explain how to build a desktop application with gowaku, from the first window to packaging. Read them in order the first time; later, jump to the one you need. For each widget and its fields, see the widget catalog and the package documentation.
| Guide | Covers |
|---|---|
| Getting started | Requirements, installing, the first window, a counter, and the samples. |
| Concepts | Widgets, elements and render objects; state and SetState; BuildContext, inherited data and keys; how a change reaches the screen, and why an idle window draws nothing. |
| Layout | The constraints protocol; rows, columns, stacks, wraps, grids, scrolling and lists; writing a custom layout. |
| Theme | One accent color, light and dark, changing the theme while running, text styles and tokens, tokens of your own. |
| Motion | Implicit animations, switching children, curves, controllers, springs, page transitions and heroes. |
| Text and input methods | Text styles, Japanese typesetting, ruby, vertical text, and input methods. |
| Accessibility | Screen readers, semantics, focus and the keyboard. |
| Windows and the OS | Windows, modal windows, menus, the title bar, the clipboard, file dialogs, drag and drop, the tray and notifications. |
| Testing and previews | Running a widget tree under go test without a window, and previews that redraw on save. |
| Packaging | The icon and metadata of an application. |
| Platforms | What each OS needs and supports, and the known limits. |
| Recipes | Complete programs for a list and a detail, a settings window with a confirmation, a long vertical text and a job in the background, and the common pitfalls. |
Other references
- Widget catalog: every public widget, with a picture and an example.
- docs/DESIGN.md (Japanese): the visual design.
- docs/ADR/ (Japanese): the design decisions, one file each.
examples/: runnable samples.