Shows how much is done as a bar that fills from the left. A new value slides into place. With Indeterminate it shows work of unknown length as a band that crosses the bar again and again, and a screen reader hears a busy indicator with no value. The band moves only while it is seen, and stands in the middle when the window asks for less motion.
Shows how much is done as a ring that fills clockwise from twelve, with a child in its middle. With Indeterminate it is a spinner for work of unknown length: an arc turns around the ring. A screen reader hears a busy indicator with no value, named Loading in the language of the window when it has no label. The arc turns only while it is seen, and stands at twelve when the window asks for less motion.
Stands in for content that is still loading. One band of light crosses the window, only while a skeleton is seen, and stops when the OS asks for less motion. SkeletonGroup tells assistive technology that it is loading.
tool:=func(label,tipstring)core.Widget{returnoverlay.Tooltip{Message:tip,Child:control.Button{Label:label,Style:control.ButtonQuiet,OnPress:func(){}}}}returnbasic.Row{Size:layout.MainMin,Spacing:theme.Space4,Children:[]core.Widget{tool("Bold","Bold (Ctrl+B)"),tool("Italic","Italic (Ctrl+I)"),tool("Link","Insert a link (Ctrl+K)"),}}
basic.Builder{Content:func(ctxcore.BuildContext)core.Widget{returncontrol.Button{Label:"Move to trash",OnPress:func(){overlay.ShowToast(ctx,overlay.Toast{Message:"Moved 3 notes to the trash",Action:"Undo",OnAction:func(){}})}}}}
control.InfoBar{Open:true,Severity:control.SeverityWarning,Title:"You are offline",Message:"Changes are saved on this device and sync when you reconnect.",OnClose:closed,},control.InfoBar{Open:true,Severity:control.SeverityError,Title:"Could not save",Message:"The disk is full.",Action:"Retry",OnAction:func(){},OnClose:closed,},
basic.Builder{Content:func(ctxcore.BuildContext)core.Widget{returncontrol.Button{Label:"Delete",Style:control.ButtonDanger,OnPress:func(){overlay.ShowDialog(ctx,func(dismissfunc())core.Widget{returnoverlay.Dialog{Title:"Delete this note?",Message:"It cannot be undone.",Actions:[]core.Widget{control.Button{Label:"Cancel",OnPress:dismiss},control.Button{Label:"Delete",Style:control.ButtonDanger,OnPress:dismiss},},}})}}}}
basic.Builder{Content:func(ctxcore.BuildContext)core.Widget{returncontrol.Button{Label:"Share",OnPress:func(){overlay.ShowSheet(ctx,overlay.Sheet{Label:"Share note"},func(dismissfunc())core.Widget{returnbasic.Column{Size:layout.MainMin,Spacing:theme.Space8,Children:[]core.Widget{basic.Text{Content:"Anyone with the link can read this note."},basic.Row{Main:layout.MainEnd,Spacing:theme.Space8,Children:[]core.Widget{control.Button{Label:"Cancel",OnPress:dismiss},control.Button{Label:"Copy link",Style:control.ButtonPrimary,OnPress:dismiss},}},}}})}}}}