Widget catalog
Every public widget of gowaku, with a picture and the code that drew it.


Runs OnPress when pressed.


The base for a pressable area with a look of your own: Build gets the hover, press and focus PressState and returns the content.


A short text beside the text it belongs to that does something when pressed.


A single or multiline text field with its label above.


A text field for searching, with a magnifier and a clear button.


A text field that suggests choices below itself as you type.


An editor for code and long text, with line numbers, decorations and find and replace.


Changes a whole number with minus and plus buttons.


Picks a value in a range.


A Slider with two thumbs that picks a range; dragging the band between them moves both.


A field for a number, typed or stepped with the arrow keys, the wheel while it has the focus, or a drag of the handle at its end.


Edits a list of short texts such as tags or addresses, each shown as a chip.


Checks and submits the FormItems below it together.


A field for a time of day, edited part by part with the arrows or digits.


A box that turns an option on and off.


Turns a setting on and off at once, with a knob that moves on a spring.


A set of radio buttons that picks one choice.


A single radio button, for layouts a RadioGroup cannot give.


Picks one of two to four choices, with a plate that slides on a spring.


A field that opens a list below itself to pick one choice.


A compact pill: a toggling filter with OnChange, a button with OnPress, or a plain tag with neither.


Picks a day from a month.


A field that shows a date and opens a Calendar below itself, whose title switches to the months and the years (the picture shows the years).


Chooses a color with a plane of saturation and brightness, strips of hue and opacity, and a hex field.


Shows a string broken into lines by the rules of its Style, with Japanese line breaking, vertical text and justification.


Mixes spans of different looks in one paragraph, with ruby and emphasis dots, and a Background behind a span, such as a match of a search.


Makes the Text and RichText below it selectable with the mouse and the keyboard, and copyable, across paragraphs; ruby copies as its base text.
Draws a vector shape on a 24 unit grid.


Shows a picture.


Draws an SVG drawing fitted into a square.


Plays an animated GIF, APNG or WebP.


A small mark for a count, a word or a dot.


A surface that holds one piece of content.


A header that opens and closes the content below it.


Shows its child through a pan and a zoom: drag to move, Ctrl with the wheel or a pinch to zoom about the pointer.


A hairline between groups of content.


A line or bar chart the size of a table cell, without axes or legend.


Switches between pages, with the chosen page below a row of underlined tabs.


The column of places at the left of a window.


The trail to the current place.


Shows where a flow of several steps is, such as a wizard or a checkout: a numbered circle and a name for each step, joined by lines.


A stack of pages.


Goes back to the previous page of the nearest Navigator.


Shows how much is done as a bar that fills from the left.


Shows how much is done as a ring that fills clockwise from twelve, with a child in its middle.


Stands in for content that is still loading.


A short label that shows when the pointer rests on its child or the keyboard moves to it.


A short message at the bottom of the window for a few seconds, with an optional action such as Undo.


A notice that stays in the page: info, success, warning or error, with a close button and one action.


A card that stops the work for an answer.


A panel that slides in from the bottom or the side of the window.


A vertical list of any length that builds only the rows near the view.


A grid of tiles of any number that builds only the rows near the view.


A List whose items move by drag or with Ctrl+Shift and an arrow.


A table with sorting, filters, range selection, cell editing and frozen columns.


A tree of nodes that open and close, with multiple selection, lazy loading, renaming and moves by drag.


An inspector that edits properties in two columns of names and values, in categories that fold.


A card of rows, the stuff of settings pages and forms.


The menu bar at the top of a window.


Opens a menu over its child on a right click or the menu key.


A row of buttons.


The band along the bottom of a window, with leading and trailing items.


Finds a registered Action by fuzzy search and runs it.


Document tabs that close, reorder, and tear off into another window.


Two panes divided by a draggable divider.


Arranges groups of tabs as an IDE does.


Lays out its children in a row.


Lays out its children in a column.


The Row and Column with its axis as a field, for a direction chosen at run time.


Fills the rest of a Row or Column, shared by the weights of Flex.


Shares the free space, but the child may stay smaller than its share.


Paints its children on top of each other.


Stretches a child over the whole Stack, whose size the other children decide.


A Row that starts a new run when the next child does not fit, for tags and chips.


Lays out tiles in columns of the same width: a fixed number, or as many as a minimum width allows.


Puts room around its child.


Places its child within the space it is given, from 0 to 1 on each axis (not -1 to 1 as in Flutter).


Places its child in the middle.


Forces a width, a height or both.


Adds minimum and maximum sizes to its child.


A box that combines size, padding, color, gradient, border, corners and shadows.


Paints a layout.Decoration behind its child.


Shows a child larger than itself, moved by the wheel and a scroll bar.


Arranges its children with the algorithm of a layout.Delegate.


Builds its content with the constraints its parent gives it, to change with the room it has, such as one pane above the other when narrow and side by side when wide.


Sizes its child to a width over height of Ratio.


Paints its child with a uniform transparency.


Combines its child as one picture with what is below, as mix-blend-mode does in CSS.


Blurs what is painted below its box, then paints its child: frosted glass.


Draws its child blurred, as filter: blur() does in CSS.


Draws its child through a custom shader: shimmers, ripples, tints.


Turns, slants or stretches its child with an affine transform.


Paints its child moved by a fraction of its size: the cheap move of a transition.


Cuts what its child paints to its box; ClipRRect rounds the corners, to the theme's card corners when Radius is 0.


Paints its child scaled around Origin: the cheap zoom of a transition.


Paints with a layout.Painter, for charts, meters and other shapes no widget offers.


Keeps the picture of its child apart, so a change on one side does not repaint the other.


Draws the pale 3px focus ring of the standard controls, for controls of your own.


A Container that moves to new colors, sizes, padding, corners, borders and shadows over time.


An Opacity that fades to a new value.


An Align that moves to a new alignment.


A Positioned that moves to a new place in its Stack.


Crossfades or slides from an old child to a new one.


When a Navigator changes pages, the child with the same Tag flies from one place to the other.
Reports taps, double taps, secondary taps, long presses, drags (start, update, end) and pinches on its child.
Reports the pointer entering and leaving, and sets the cursor over its child.
Hands every pointer event over its child to a function, with the pressure of a pen, for drawing.
Lets its child take the keyboard.
Lets the pointer pass through its child to what is below.
Drags data out of its child: to a DragTarget, another window or another program.
Takes text or files dropped on its child, from this window or from programs such as Explorer or a browser.
Describes its child to assistive technology and does what a screen reader asks.
Hides its child from assistive technology, as aria-hidden does, for text that only decorates, such as the initial in an avatar.
Sets where the controls below it come in the order of Tab, as tabindex does in HTML.


Builds its content with the BuildContext of its place, to read what is above, such as the theme.


Gives the widgets below it their look, for a part of the window with another accent.


Tells the widgets below about the window: brightness, scale, reduced motion, locale and the size of its content area.
Hands the standard widgets the words of their locale.
A place to show entries on top of its child.
No widget matches.
Pictures are drawn on the CPU by gpu/soft with the Go fonts, so the text in them is English. Lower-case helpers in the examples, such as themed and tile, are in internal/catalog/helpers.go.