widgets/calsee_controls
library
Classes
-
CalseeCheckbox
-
A box that is ticked or not: the accent face with a tick when value,
the plain face when not. Tapping it or its label calls onChanged;
without onChanged it is disabled.
-
CalseeDropdown<T>
-
A button showing the chosen item that opens a themed list of items
below it. The list is drawn in an Overlay (the app's, from
WidgetsApp), with the theme of where the dropdown sits.
-
CalseeExpandable
-
A section that opens and closes: a header key with title and a
chevron, and child below it when open.
-
CalseeRadio<T>
-
One choice of several: the accent face with a dot when value equals
groupValue. Tapping it or its label calls onChanged with value.
-
CalseeSegmented<T>
-
One of a few options, side by side: the chosen one wears the accent
face. Each segment is a key, so it has the family's press.
-
CalseeSlider
-
A value between min and max: a plain-face track, filled in the
accent colour up to the value, with an accent-face thumb. Drag or tap
along it; with divisions it snaps to that many steps.
-
CalseeSwitch
-
An on/off switch: a track wearing the accent face when value (the
plain face when not), with a thumb in the track's label colour that
slides across.
-
CalseeTextField
-
A text input on the plain face, in the theme's key font, with the
theme's focus ring while focused.