cloudscape_flutter library

Unofficial Flutter port of AWS Cloudscape Design System.

Start with CsThemeProvider at the root of your app, then build with Cs* widgets. See doc/guides/getting-started.md.

Classes

CsAbsoluteDateRange
A fixed range between two local date-times (Cloudscape AbsoluteValue).
CsActionCard
Cloudscape's ActionCard: a whole card that is one button (or link), for choosing between a few actions or destinations ("Create bucket", "Import from a template").
CsAlert
Cloudscape's Alert: a short, important message in the context of a page or form, such as a warning before a destructive action or a constraint the user should know about.
CsAlertI18nStrings
Copy for CsAlert (Cloudscape i18nStrings). Unset fields fall back to CsStrings ("Success", "Error", "Warning", "Info") and "Dismiss alert".
CsAnchoredOverlay
The positioning primitive behind every Cs popover, tooltip, menu, select and combobox.
CsAnchorNavigation
Cloudscape's AnchorNavigation: a table of contents for a long page that highlights the section in view.
CsAnchorNavigationAnchor
One entry of CsAnchorNavigation (Cloudscape AnchorNavigationProps.Anchor).
CsAnchorScrollSpy
Tracks which section of a scroll view is in view, for CsAnchorNavigation: Cloudscape's scroll spy for a ScrollController.
CsAnnotationContext
Cloudscape's AnnotationContext: runs a tutorial over the app. Wrap the page in it; CsHotspots anywhere below open the current step's annotation popover, and a CsTutorialPanel lists the tutorials and the progress of the current one.
CsAnnotationContextData
What CsAnnotationContext shares with the hotspots and the tutorial panel below it. Read it with CsAnnotationContext.maybeOf.
CsAnnotationI18nStrings
Copy for CsAnnotationContext and its hotspots, English by default (Cloudscape i18nStrings). Indexes passed to the functions are 0-based.
CsAppLayout
Cloudscape's AppLayout: the frame of a console page, with side navigation, breadcrumbs, notifications, the content, a split panel and the tools panel or drawers.
CsAppLayoutDrawer
One drawer of the app layout (Cloudscape AppLayoutProps.Drawer): a panel at the end of the layout opened from its trigger icon.
CsAppLayoutDrawerLabels
Accessible names for one drawer (Cloudscape DrawerAriaLabels).
CsAppLayoutLabels
Accessible names of the app layout (Cloudscape ariaLabels).
CsAppLayoutToolbar
Cloudscape's AppLayoutToolbar: the app layout with a toolbar row along the top that holds the navigation trigger, breadcrumbs and the tools and drawer triggers. Same API as CsAppLayout.
CsAreaChart<T>
Cloudscape's area chart: stacked areas that show how parts add up to a total over time, with thresholds, a legend, a series filter and a detail popover that ends with the total.
CsAttributeEditor<T>
Cloudscape's AttributeEditor: a list of rows of form fields with add and remove buttons, for key-value pairs, environment variables, headers, tags and other repeated attributes.
CsAttributeEditorField<T>
One column of an attribute editor row (Cloudscape AttributeEditorProps.FieldDefinition).
CsAttributeEditorGridLayout
A row layout for one container width (Cloudscape AttributeEditorProps.GridLayout).
CsAttributeEditorI18nStrings
Copy for CsAttributeEditor (Cloudscape AttributeEditorProps.I18nStrings).
CsAttributeEditorRemoveButtonLayout
Placement of the remove button in a CsAttributeEditorGridLayout.
CsAttributeEditorRowActions<T>
What CsAttributeEditor.customRowActions receives for each row (Cloudscape RowActionsProps).
CsAttributeEditorState<T>
State of CsAttributeEditor, reachable through a GlobalKey for the focus methods Cloudscape exposes on its ref.
CsAutosuggest
Cloudscape's Autosuggest: a text input that suggests options as the user types. Unlike a select, any text is a valid value; the suggestions only help.
CsAutosuggestSelectDetail
What CsAutosuggest.onSelect reports (Cloudscape SelectDetail).
CsAvatar
Cloudscape's Avatar: a round visual representation of a user or a generative AI assistant in a chat.
CsBadge
Cloudscape's Badge: a small colored label for a count, a category or a severity, such as "New", "3" or "Critical".
CsBadgeStyle
Style overrides for CsBadge (Cloudscape style.root). Every field is optional; unset fields keep the token values of the badge's color.
CsBarChart<T>
Cloudscape's bar chart: grouped or stacked bars per category, vertical or horizontal, with thresholds, a legend, a series filter and a detail popover.
CsBoard<T>
Cloudscape's Board: a configurable dashboard grid whose items people rearrange by dragging, resize from the corner, add from a CsItemsPalette and remove.
CsBoardDndState<T>
The state of a move, resize or insert, handed to the live announcement strings (Cloudscape DndReorderState, DndResizeState, DndInsertState).
CsBoardEntry<T>
One item on a board and its position (Cloudscape BoardProps.Item).
CsBoardGrid
A whole board laid out for one column count.
CsBoardI18nStrings<T>
Live announcements of a CsBoard (Cloudscape BoardProps.I18nStrings). Every field is optional and falls back to English.
CsBoardItem
Cloudscape's BoardItem: the container every item on a CsBoard and in a CsItemsPalette renders. It has a drag handle before the header, an optional settings slot after it, the content, an optional footer and a resize handle in the bottom end corner.
CsBoardItemActions
Actions an item can take on its board (Cloudscape BoardProps.ItemActions).
CsBoardItemDefinition
Size rules for a board item (Cloudscape BoardProps.Item.definition).
CsBoardItemI18nStrings
Copy for CsBoardItem (Cloudscape BoardItemProps.I18nStrings).
CsBoardItemRemovedState<T>
The state handed to CsBoardI18nStrings.liveAnnouncementItemRemoved.
CsBoardItemsChange<T>
What changed in CsBoard.onItemsChange (Cloudscape BoardProps.ItemsChangeDetail). items is the new list to store; at most one of the other fields is set.
CsBoardLayout
The board's grid math, ported from Cloudscape's board components (internal/utils/layout.ts). Pure functions on CsBoardEntry lists; the board widget calls them, and so can tests or app code that needs to add an item at a spot.
CsBoardPlacement
Where an item sits in a grid layout, in cells (Cloudscape BoardProps.ItemPlacement).
CsBorderLine
Line widths that are not borderWidth* tokens (dividers, focus outlines).
CsBorderRadius
Corner radii. Cloudscape rounds buttons fully (20px) and containers at 16px.
CsBorderWidth
Border widths in logical pixels.
CsBox
Cloudscape's Box: the text and spacing primitive. Set a variant for a semantic text style (h1 to h5, p, small, code, key label, large value), override fontSize, fontWeight and color, and add token-based padding and margin.
CsBoxSpacing
Padding or margin on some sides of a CsBox. Unset sides keep the variant's default.
CsBreadcrumbGroup
Cloudscape's BreadcrumbGroup: the path from the top of the hierarchy to the current page.
CsBreadcrumbGroupI18nStrings
Copy for CsBreadcrumbGroup.
CsBreadcrumbGroupItem
One breadcrumb (Cloudscape BreadcrumbGroupProps.Item).
CsButton
Cloudscape's Button.
CsButtonDropdown
Cloudscape's ButtonDropdown: a button that opens a menu of actions.
CsButtonDropdownCheckboxItem
A checkbox item (Cloudscape CheckboxItem): shows a check while checked and reports the next state on click.
CsButtonDropdownGroup
A group of items with a heading (Cloudscape ItemGroup). With CsButtonDropdown.expandableGroups (or expandable) it collapses behind its heading.
CsButtonDropdownItem
An action in a button dropdown (Cloudscape Item).
CsButtonDropdownItemClickDetails
What a click reports (Cloudscape ItemClickDetails).
CsButtonDropdownItemOrGroup
An entry in CsButtonDropdown.items: an action, a checkbox item or a group (Cloudscape ItemOrGroup).
CsButtonDropdownMainAction
The main action of a split button (Cloudscape mainAction).
CsButtonDropdownMenu
The menu of a CsButtonDropdown (also used by the menu dropdown of a button group): rows for actions, checks for checkbox items, headings for groups, and in-place expansion for expandable groups.
CsButtonGroup
Cloudscape's ButtonGroup: a compact row of icon actions, such as the feedback, copy and more buttons under a chat message.
CsButtonGroupCopyToClipboard
A copy button (Cloudscape icon-copy-to-clipboard).
CsButtonGroupGroup
A labelled set of items, separated from its neighbors by a divider (Cloudscape group).
CsButtonGroupIconButton
An icon button (Cloudscape icon-button).
CsButtonGroupIconToggleButton
An icon toggle button (Cloudscape icon-toggle-button).
CsButtonGroupItem
A button in a CsButtonGroup (Cloudscape Item).
CsButtonGroupItemClickDetails
What a click reports (Cloudscape ItemClickDetails).
CsButtonGroupItemOrGroup
An entry in CsButtonGroup.items (Cloudscape ItemOrGroup).
CsButtonGroupMenuDropdown
An icon button that opens a menu (Cloudscape menu-dropdown), for overflow actions.
CsCalendar
Cloudscape's Calendar: a month grid (or a year of months) for picking one date, shown inline. For a field with a calendar dropdown use CsDatePicker.
CsCalendarI18nStrings
Copy for CsCalendar (Cloudscape CalendarProps.I18nStrings). Unset fields fall back to Cloudscape's English and to context.csStrings.
CsCardDefinition<T>
What each card shows (Cloudscape CardDefinition).
CsCards<T>
Cloudscape's Cards: a collection of items as a grid of cards, with the header, filter, pagination and preferences slots of a collection and optional selection.
CsCardsAriaLabels<T>
Accessible labels for CsCards (Cloudscape cards ariaLabels).
CsCardSection<T>
One section of a card (Cloudscape SectionDefinition).
CsCardsLayout
Cards per row from a minimum container width (Cloudscape CardsLayout).
CsChartColors
The categorical color palette charts assign to series, in Cloudscape's order (color-charts-palette-categorical-1 to -50).
CsChartDatum<T>
One data point of a series: an x position and a y value (Cloudscape Datum).
CsChartDetailPair
A key and value pair in a detail popover (Cloudscape ChartDetailPair). Use the widget slots for links or other rich content.
CsChartI18nStrings
Copy used by the line, bar, area and mixed charts (Cloudscape i18nStrings plus the status texts). Null fields fall back to Cloudscape's English defaults.
CsChartSeries<T>
One series of a line, bar, area or mixed chart (Cloudscape series[]). Charts compare series by identity: keep the same instances between builds (declare them final or const) so filtering and highlighting stay attached.
CsChartSeriesDetail
Custom popover content for one series at the highlighted x (Cloudscape DetailPopoverSeriesKeyValuePair).
CsChatBubble
Cloudscape's ChatBubble: one message in a conversation, paired with an avatar.
CsCheckbox
Cloudscape's Checkbox: a box with a label for a single on or off choice, or the "select all" control above a list (indeterminate).
CsCheckboxIcon
The 16px Cloudscape checkbox glyph: a box with a 3px radius that fills with color-background-control-checked and draws its check mark in when it becomes checked. Used by CsCheckbox, table row selection and multiselect options.
CsCheckboxPreference
A checkbox preference: wrap lines, striped rows or compact mode.
CsCodeEditor
Cloudscape's CodeEditor, rebuilt in Flutter without Ace: a monospace editor with a line number gutter, syntax highlighting, an active line marker, and Cloudscape's status bar (language, cursor position, error and warning counts with their pane, preferences and a resize handle).
CsCodeEditorAnnotation
A problem at a position in the code (Ace Annotation), shown in the gutter, counted in the status bar and listed in the errors and warnings pane.
CsCodeEditorColors
Syntax colors for the code editor, from Cloudscape's visual accent text tokens so they hold contrast in light and dark mode.
CsCodeEditorHighlighter
A small, dependency-free tokenizer for the code editor's languages.
CsCodeEditorI18nStrings
Copy for CsCodeEditor (Cloudscape CodeEditorProps.I18nStrings).
CsCodeEditorPreferences
User preferences of a CsCodeEditor (Cloudscape Preferences).
CsCodeEditorToken
One run of source text and its type.
CsCodeView
Cloudscape's CodeView: a read-only, monospaced code snippet with optional line numbers, line wrapping, syntax highlighting and an actions slot (usually CsCodeViewCopyButton).
CsCodeViewColors
Syntax colors for CsCodeView, mapped to Cloudscape text tokens so every pairing keeps its contrast on color-background-code-view in light and dark mode.
CsCodeViewCopyButton
An icon button that copies content to the clipboard and confirms with a short tooltip. Built for CsCodeView.actions, the way Cloudscape pairs the code view with CopyToClipboard (variant="icon").
CsCodeViewCopyButtonI18nStrings
Copy for CsCodeViewCopyButton.
CsCodeViewHighlighter
A small, dependency-free tokenizer for the languages Cloudscape's code view ships highlight rules for most often, ported from the sibling kumo_flutter package.
CsCodeViewI18nStrings
Copy for CsCodeView (Cloudscape CodeViewProps.I18nStrings).
CsCodeViewToken
One run of source text and its type.
CsCollection<T>
The in-memory collection logic of Cloudscape's useCollection hook (@cloudscape-design/collection-hooks): text and property filtering, sorting, pagination and selection over a list, with the counts a table, filter and pagination need.
CsCollectionFiltering<T>
Text filtering settings (collection hooks filtering).
CsCollectionFilterProperty
A property the property filter can match (Cloudscape FilteringProperty).
CsCollectionFilterQuery
A property filter query (Cloudscape property filter Query).
CsCollectionFilterToken
One condition of a property filter query (Cloudscape property filter Token). A token without a propertyKey is free text and matches any filtering property.
CsCollectionPagination
Pagination settings (collection hooks pagination).
CsCollectionPreferences<C>
Cloudscape's CollectionPreferences: a settings button for a table or cards that opens a modal with page size, line wrapping, striped rows, density, sticky columns, column order and visibility, and custom preferences. Changes apply on Confirm.
CsCollectionPreferencesI18nStrings
Copy for CsCollectionPreferences (Cloudscape's English messages).
CsCollectionPreferencesValue<C>
Current preference values (Cloudscape CollectionPreferencesProps.Preferences). C is the type of the custom preference.
CsCollectionPropertyFiltering<T>
Property filtering settings (collection hooks propertyFiltering).
CsCollectionSelection<T>
Selection settings (collection hooks selection).
CsCollectionSorting<T>
Sorting settings (collection hooks sorting).
CsColorScheme
A resolved set of Cloudscape colors for one mode. Read a token with its getter (colors.textBodyDefault) or by enum (colors[CsColor.textBodyDefault]).
CsColorSchemes
The generated light and dark schemes and their context overrides.
CsColorUtils
Color math Cs components need at runtime.
CsColumnDisplay
The order and visibility of one column (Cloudscape ColumnDisplay and the collection preferences ContentDisplayItem).
CsColumnLayout
Cloudscape's ColumnLayout: lays children out in 1 to 4 equal columns that collapse responsively.
CsContainer
Cloudscape's Container: the standard panel for a block of related content, with an optional header, footer and media.
CsContainerMedia
An image, video or other visual shown with a container (Cloudscape ContainerProps.Media).
CsContainerStyle
Style overrides (Cloudscape style). Every field is optional and falls back to the token value.
CsContentDisplayOption
A column in the content display preference.
CsContentDisplayPreference
The column order and visibility preference (Cloudscape contentDisplayPreference). Columns reorder by dragging the handle or with the keyboard: focus the handle, press Space or Enter to pick the column up, move it with the arrow keys and press Space or Enter to drop it (Escape puts it back).
CsContentLayout
Cloudscape's ContentLayout: the page frame inside the app layout's content area, with notifications, breadcrumbs, a page header and the page content.
CsControlGroup
Cloudscape's ControlGroup: joins form controls, for example an input and a select, or an input and a button, into one visual control.
CsControlGroupActionButton
The icon button joined to the end of a CsControlGroup (Cloudscape ControlGroupProps.ActionButton), drawn in Cloudscape's control-group-action button style.
CsControlRow
Lays out a 16px-ish control (checkbox, radio, toggle) with a label and a description the way Cloudscape's abstract switch does: the control centered on the label's first 20px line, the text 8px after it.
CsCopyToClipboard
Cloudscape's CopyToClipboard: copies a value (an ID, an ARN, a command) and confirms in a small popover.
CsCurves
Cloudscape easing curves (motionEasing*).
CsDateInput
Cloudscape's DateInput: a masked text field for a date.
CsDateLabels
Date labels shared by the date components, built from CsStrings.
CsDatePicker
Cloudscape's DatePicker: a CsDateInput with a calendar button that opens a CsCalendar in a dropdown, or in a bottom sheet on phones.
CsDatePickerI18nStrings
Copy for CsDatePicker (Cloudscape DatePickerProps.I18nStrings): the calendar's strings plus the calendar button's label.
CsDateRangePicker
Cloudscape's DateRangePicker: a trigger that opens a dropdown for picking an absolute range on a calendar (with optional times) or a relative range such as "Last 5 minutes".
CsDateRangePickerI18nStrings
Copy for CsDateRangePicker (Cloudscape DateRangePickerProps. I18nStrings). Every field defaults to Cloudscape's English.
CsDateRangeValidationResult
Result of isValidRange (Cloudscape ValidationResult).
CsDateRangeValue
A date range picker value: a CsAbsoluteDateRange or a CsRelativeDateRange (Cloudscape DateRangePickerProps.Value).
CsDensityScope
Switches a subtree to compact or comfortable density.
CsDensityTokens
Spacing and sizes that change with content density. Read them from the theme (context.cs.space.scaledM) so compact mode applies.
CsDialog
Cloudscape's Dialog: a small panel that opens in place, next to the content it is about (a quick edit inside a card, a confirmation in a side panel), without a backdrop and without blocking the page.
CsDialogI18nStrings
Copy for CsDialog (Cloudscape i18nStrings).
CsDialogRoute<T>
A route that draws the Cs backdrop and runs Cs dialog motion around builder. Escape, a backdrop tap and the system back gesture pop it.
CsDivider
Cloudscape's Divider (src/divider): a 1px color-border-divider-default line that separates content, optionally with a label in the middle of a horizontal line.
CsDrawer
Cloudscape's Drawer: a panel with a header, scrolling content and an optional sticky footer. Put it in the app layout's tools or drawers, or show it on its own over the content with position fixed or absolute.
CsDrawerCloseAction
The close button of a drawer (Cloudscape closeAction).
CsDrawerI18nStrings
Copy for CsDrawer.
CsDropdown
The floating part of selects, multiselects, autosuggests, button dropdowns and date pickers: Cloudscape's dropdown container (2px color-border-dropdown-container border, 8px radius, shadow-dropdown), at least as wide as its trigger, flipping above it when there is no room below. On phones it opens as a bottom sheet instead.
CsDurations
Cloudscape motion durations (motionDuration*). All collapse to zero when motion is disabled; use CsMotion.duration(context, ...).
CsEditable
The bare text-editing core shared by every Cs field (input, textarea, select search, combobox, tag input, date input, command palette).
CsErrorBoundary
Cloudscape's ErrorBoundary: shows a fallback in place of content that failed to build, instead of a red error screen.
CsErrorBoundaryErrorDetail
What CsErrorBoundary.onError receives (Cloudscape ErrorBoundaryProps.OnErrorDetail).
CsErrorBoundaryFallbackSlots
The default slots handed to CsErrorBoundary.renderFallback (Cloudscape ErrorBoundaryProps.FallbackProps).
CsErrorBoundaryI18nStrings
Copy of the fallback (Cloudscape ErrorBoundaryProps.I18nStrings).
CsErrorBoundaryState
State of a CsErrorBoundary. Reach it with a GlobalKey to reset the boundary or forceError (Cloudscape's test helpers).
CsExpandableSection
Cloudscape's ExpandableSection: a header that shows and hides its content.
CsFieldBox
The chrome of every Cloudscape text field: color-background-input-default, a 1px color-border-input-default border, 8px radius and a 32px minimum height (28px compact). Focus colors the border color-border-input-focused and adds a 1px ring; invalid and warning states color the border and thicken its start edge to 8px; disabled and read-only fields get their own fills.
CsFile
A file chosen by the user, as the file components show it (the fields of the web File that Cloudscape reads).
CsFileDropzone
Cloudscape's FileDropzone: the dashed area files are dropped on.
CsFileFormat
Cloudscape's default file size and date formats (file-token-group/default-formatters.ts).
CsFileInput
Cloudscape's FileInput: a button that opens a file picker. Use it on its own in custom upload flows, or through CsFileUpload, which adds the file tokens and validation.
CsFilePickRequest
What a file input asks the app's picker for.
CsFileTokenGroup
Cloudscape's FileTokenGroup: the chosen files as tokens, each with its name, optional size, date and image thumbnail, a dismiss button, and a loading, error or warning state.
CsFileTokenGroupI18nStrings
Copy and formatters for CsFileTokenGroup (Cloudscape FileTokenGroupProps.I18nStrings).
CsFileTokenGroupItem
One token of a CsFileTokenGroup (Cloudscape FileTokenGroupProps.Item).
CsFileUpload
Cloudscape's FileUpload: a "Choose file" button, its constraint and validation text, and the chosen files as tokens.
CsFileUploadI18nStrings
Copy and formatters for CsFileUpload (Cloudscape FileUploadProps.I18nStrings).
CsFlash
A single flash message, the building block of CsFlashbar, for places that show one message on their own.
CsFlashbar
Cloudscape's Flashbar: page-level messages about the result of an action (an instance launched, a deletion failed) or an ongoing process, shown at the top of the page.
CsFlashbarI18nStrings
Copy for CsFlashbar (Cloudscape i18nStrings).
CsFlashbarItem
One flash message (Cloudscape FlashbarProps.MessageDefinition).
CsFocusRing
Shows the focus ring around child while visible. For focusable widgets not built on CsPressable, such as text inputs.
CsFocusRingPainter
Paints Cs's keyboard focus ring (focus-visible:ring-2 ring-cs-brand) just outside a control's bounds, so it never shifts layout.
CsFocusTrap
Keeps keyboard focus inside child while it is on screen and hands it back to whatever had focus before when it goes away.
CsFontTokens
Raw type tokens. Prefer the styles on context.cs (text, heading).
CsForm
Cloudscape's Form: the frame around a create or edit flow. It stacks a header, the form content (child, usually containers of CsFormFields), a form-level error alert and the action row: primary actions at the end, secondaryActions at the start.
CsFormField
Cloudscape's FormField: a bold label over a control, with a description under the label, constraint text under the control and an error or warning message that replaces nothing and announces itself.
CsGenAiGradients
The generative AI gradients, the two Cloudscape color tokens that are not solid colors and therefore are not in the generated color scheme.
CsGrid
Cloudscape's Grid: a 12-column responsive grid. Each child takes a CsGridDefinition that sets its span, offset, push and pull per breakpoint.
CsGridDefinition
Placement of one CsGrid child (Cloudscape GridProps.ElementDefinition).
CsGroupedControl
Tells a field inside a CsControlGroup where it sits, so its chrome joins its neighbors: only the group's outer corners are rounded, the border between two controls is a single 1px seam, the border takes color-border-control-group-default, and the group's validation colors the outer edges with the thick start edge on the leading control.
CsHeader
Cloudscape's Header: the title of a page, container or section, with an optional counter, info link, description, secondary content and actions.
CsHeaderStickyScope
Tells CsHeaders with CsHeaderVariant.awsuiH1Sticky below it whether their sticky container is currently stuck. Tables and cards with a sticky header set this; while stuck the title shrinks to h2 size, the description hides and the vertical padding tightens, like Cloudscape.
CsHelpPanel
Cloudscape's HelpPanel: the help content shown in the app layout's tools panel, with a header, body text and a footer of related links.
CsHotspot
Cloudscape's Hotspot: a marked place in the app that a tutorial step points to. Outside a running tutorial it renders only its child.
CsHotspotSlot
What a CsHotspot shows for its ID at the moment.
CsIcon
Cloudscape's Icon: one of the 148 built-in CsIcons (or any CsIconData), outlined with the current text color.
CsIconData
A Cloudscape icon: a name and its vector parts. Pass it to CsIcon.
CsIconPainter
Paints a CsIconData at any size with a fixed visual stroke width.
CsIconPart
One shape of a Cloudscape icon, in the icon's 16x16 viewBox.
CsIconProvider
Overrides built-in icons for a subtree (Cloudscape IconProvider).
CsIcons
The 148 built-in Cloudscape icons. Names follow Cloudscape's iconName in camelCase: "status-positive" is CsIcons.statusPositive.
CsInput
Cloudscape's Input: a single-line text field.
CsItemCard
Cloudscape's ItemCard: a bordered card for one item, with a header row (icon, title, description, actions), content and a footer. CsCards renders each card with it.
CsItemCardStyle
Visual overrides for CsItemCard (Cloudscape item card style). Every field is optional and falls back to the theme tokens.
CsItemsPalette<T>
Cloudscape's ItemsPalette: a catalog of items people drag onto a CsBoard.
CsItemsPaletteI18nStrings
Live announcements of a CsItemsPalette (Cloudscape ItemsPaletteProps.I18nStrings).
CsItemsPaletteItem<T>
One item a palette offers (Cloudscape ItemsPaletteProps.Item).
CsItemsPaletteItemContext
What CsItemsPalette.renderItem receives besides the item (Cloudscape ItemsPaletteProps.ItemContext).
CsKeyValueGroup
A titled column of pairs (Cloudscape KeyValuePairsProps.Group). Groups and plain pairs can be mixed in one CsKeyValuePairs.
CsKeyValueItem
One entry of CsKeyValuePairs.items: a CsKeyValuePair or a CsKeyValueGroup of pairs.
CsKeyValuePair
A label and its value (Cloudscape KeyValuePairsProps.Pair).
CsKeyValuePairs
Cloudscape's KeyValuePairs: labeled values of a resource laid out in up to four columns, such as the details section of an instance.
CsLineChart<T>
Cloudscape's line chart: one or more series of values over a continuous or categorical x axis, with thresholds, a legend, a series filter and a detail popover.
Cloudscape's Link.
CsLinkDefaults
Sets the default CsLinkVariant for the links below it.
CsList<T>
Cloudscape's List: a vertical list of structured items (icon, content, secondary content, actions) separated by dividers, optionally sortable.
CsListI18nStrings
Copy for CsList, English by default (Cloudscape i18nStrings).
CsListItem
What CsList.renderItem returns for one item (Cloudscape's renderItem result).
CsLiveAnnouncement
What a collection reports to screen readers when its page changes (Cloudscape LiveAnnouncement).
CsLiveRegion
Cloudscape's LiveRegion: announces content to screen readers whenever it changes, without moving focus.
CsLiveRegionState
State of a CsLiveRegion. Reach it with a GlobalKey<CsLiveRegionState> to reannounce the current text.
CsLoadingBar
Cloudscape's gen-AI LoadingBar: a 2px animated gradient that signals a generative AI process is running.
CsLoadItemsDetail
Details of an onLoadItems request (Cloudscape LoadItemsDetail).
CsLocale
Provides CsStrings to a subtree. Without one, English defaults apply.
CsMaterialTheme
Wraps child in a Material Theme derived from the nearest CsTheme. Place it under CsThemeProvider when mixing Material widgets in.
CsMenuGroupLabel
The heading of a group of options: bold color-text-dropdown-group-label text, as Cloudscape draws option group labels.
CsMenuKeyboard
Arrow-key movement between the focusable rows inside child: Up and Down move, Home and End jump to the ends. Wrap any custom list of CsMenuRows with it.
CsMenuPanel
The surface of dropdowns and option lists: Cloudscape's dropdown container (color-background-dropdown-item-default, a 2px color-border-dropdown-container border, 8px radius, shadow-dropdown). Scrolls when its content is taller than the room it was given.
CsMenuRow
One row of a dropdown or option list, drawn like Cloudscape's selectable item: while hovered or keyboard-highlighted it gets color-background-dropdown-item-hover inside a 2px color-border-dropdown-item-hover outline; a selected row gets color-background-dropdown-item-selected and a color-border-dropdown-item-selected outline. Optional leading icon, description and trailing content (a check, a shortcut, a submenu caret).
CsMenuSeparator
A 1px color-border-dropdown-group divider between groups of rows.
CsMixedLineBarChart<T>
Cloudscape's mixed line and bar chart: bars and lines on one categorical x axis, for example a monthly cost with its running average and a budget threshold.
CsModal
Cloudscape's Modal: a dialog that interrupts the page to collect a decision or a short task (confirm a deletion, edit a setting), with a header, scrollable content and a footer of actions.
CsMotion
Motion helpers shared by components.
CsMultiselect
Cloudscape's Multiselect: pick any number of options from a dropdown list. Chosen options show as dismissible tokens under the trigger.
CsMultiselectI18nStrings
Copy for CsMultiselect (Cloudscape i18nStrings).
CsNavigableGroup
Cloudscape's NavigableGroup: a set of focusable controls (buttons, toggle buttons, button dropdowns, links) that is a single Tab stop, with the arrow keys moving focus between them (a roving tab index).
CsNavigableGroupState
State of a CsNavigableGroup.
CsOption
One option (Cloudscape OptionDefinition).
CsOptionGroup
A labelled group of options (Cloudscape OptionGroup). In a multiselect the group label selects or clears every option in it.
CsOptionItem
An entry in the options of a select, multiselect or autosuggest: a CsOption or a CsOptionGroup (Cloudscape OptionDefinition and OptionGroup).
CsOptionList
Cloudscape's OptionList: an always visible list of options to pick one or several from, without a trigger or dropdown.
CsOptionListI18nStrings
Copy of a CsOptionList (Cloudscape OptionListProps.I18nStrings).
CsOptionListItem
A row handed to CsOptionList.renderOption (Cloudscape OptionListProps.Item).
CsPageSizeOption
One page size choice.
CsPageSizePreference
The page size preference (Cloudscape pageSizePreference).
CsPagination
Cloudscape's Pagination: moves through pages of a table or list.
CsPaginationAriaLabels
Accessible labels of CsPagination (Cloudscape ariaLabels).
CsPaginationI18nStrings
Copy for CsPagination (Cloudscape i18nStrings).
CsPaginationJumpToPage
The jump-to-page field (Cloudscape jumpToPage).
CsPaginationPageClickDetail
Detail of CsPagination.onNextPageClick and CsPagination.onPreviousPageClick.
CsPaginationState
State of CsPagination, reachable through a GlobalKey to show the jump to page error.
CsPaginationWindow
The visible controls of a normal pagination, from Cloudscape's getPaginationState: up to 7 page controls with the first and last page always shown and dots for the gaps.
CsPanelLayout
Cloudscape's PanelLayout: a side panel next to main content, with a draggable divider between them.
CsPanelLayoutI18nStrings
Copy for CsPanelLayout.
CsPanelResizeDetail
Sizes reported by CsPanelLayout.onPanelResize and CsPanelLayout.onLayoutChange.
CsPendingAbsoluteRange
The absolute range being edited in the dropdown, as typed (Cloudscape PendingAbsoluteValue): ISO dates (YYYY-MM-DD) and times (hh:mm:ss).
CsPieChart<T extends CsPieChartDatum>
Cloudscape's pie chart: parts of a whole as pie or donut segments with labels, a legend, a segment filter and a detail popover.
CsPieChartDatum
One segment of a CsPieChart (Cloudscape PieChartProps.Datum). Extend it to carry more fields; the chart hands your type back in callbacks.
CsPieChartI18nStrings
Copy of CsPieChart. Null fields use Cloudscape's English defaults.
CsPopover
Cloudscape's Popover: a small panel of extra detail that opens from a trigger on tap, such as the full status of a resource or the definition of a term.
CsPopoverState
State of a CsPopover. Reach it with a GlobalKey<CsPopoverState> to dismiss the popover from code (Cloudscape's ref.dismiss()).
CsPopupPlacement
Where a popup ended up after collision handling, handed to CsAnchoredOverlay.overlayBuilder.
CsPopupSurface
The floating surface of popovers, tooltips and dropdowns: Cloudscape's popover container (color-background-popover, a 2px color-border-popover border, 8px radius, shadow-popover) and, optionally, its arrow pointing at the anchor.
CsPressable
The interaction primitive every tappable Cs component is built on.
CsPressState
Interaction state handed to CsPressable.builder.
CsProgressBar
Cloudscape's ProgressBar: how far an operation of known length has got, with a label, a percentage and, when it ends, a success or error result.
CsPromptInput
Cloudscape's PromptInput: the multi-line field of a chat or generative AI experience, with a send button, optional actions under the text and content above it (attached files).
CsPromptInputI18nStrings
Copy for CsPromptInput (Cloudscape PromptInputProps.I18nStrings).
CsPropertyFilter
Cloudscape's PropertyFilter: builds a query of property operator value tokens (and free-text tokens) for filtering a collection.
CsPropertyFilterFormattedToken
A token as text, for labels and announcements (Cloudscape FormattedToken).
CsPropertyFilterGroupText
Labels of a custom property group in suggestions (Cloudscape GroupText).
CsPropertyFilterI18nStrings
Copy for CsPropertyFilter (Cloudscape i18nStrings), English by default.
CsPropertyFilterLoadItemsDetail
Details of a CsPropertyFilter.onLoadItems request.
CsPropertyFilterOption
A suggested value of a property (Cloudscape FilteringOption).
CsPropertyFilterProperty
A property the user can filter by (Cloudscape FilteringProperty).
CsPropertyFilterQuery
The whole filter (Cloudscape Query).
CsPropertyFilterToken
One filter (Cloudscape Token). A null propertyKey is free text.
CsRadioButton
Cloudscape's RadioButton: one radio with a label and an optional description, for building custom single-choice layouts. Most screens use CsRadioGroup, which handles selection and arrow keys for a list.
CsRadioGroup
Cloudscape's RadioGroup: a list of mutually exclusive options. Use it for 2 to 7 choices that should all stay visible; use a select for longer lists and CsTiles when each option needs more room.
CsRadioGroupItem
One choice in a CsRadioGroup (Cloudscape RadioButtonDefinition).
CsRadioIcon
The 16px Cloudscape radio glyph: a circle with a 1px color-border-control-default stroke that, when checked, fills with a thick color-background-control-checked ring around a small dot.
CsRelativeDateRange
A range that ends now, such as "Last 5 minutes" (Cloudscape RelativeValue and RelativeOption). Options passed as relativeOptions need a unique key.
CsRing
Cloudscape draws most borders inside the box (box-sizing: border-box) and focus rings outside it. These build the Flutter equivalents.
CsS3BrowseModal
The browse modal of CsS3ResourceSelector. Exposed for testing and for apps that want to open it on their own; pops with the chosen CsS3Resource.
CsS3Bucket
A bucket (Cloudscape S3ResourceSelectorProps.Bucket).
CsS3Object
An object or a folder prefix (Cloudscape S3ResourceSelectorProps.Object).
CsS3Resource
The selected resource (Cloudscape Resource).
CsS3ResourceChange
A change of the selected resource (Cloudscape ChangeDetail).
CsS3ResourceSelector
Cloudscape's S3ResourceSelector: an S3 URI input with a Browse button that opens a modal to pick a bucket, object or object version, plus an optional version picker and View button.
CsS3ResourceSelectorI18nStrings
Copy for CsS3ResourceSelector (Cloudscape's English messages).
CsS3ResourceSelectorState
State of a CsS3ResourceSelector; focus moves focus to the URI input (Cloudscape S3ResourceSelector.Ref).
CsS3Version
A version of an object (Cloudscape S3ResourceSelectorProps.Version).
CsScrim
The backdrop behind dialogs and sheets: Cs's recessed surface at 80% opacity, so the page behind recedes without going black.
CsSegmentedControl
Cloudscape's SegmentedControl: 2 to 6 buttons in a pill where exactly one is active, for switching between views of the same content (a chart range, list or grid).
CsSegmentedControlOption
One segment of a CsSegmentedControl (Cloudscape Option).
CsSelect
Cloudscape's Select: pick one option from a dropdown list.
CsShadows
Elevation shadows for one mode. Cloudscape keeps most surfaces flat; shadows mark things that float (dropdowns, popovers, modals) and sticky headers.
CsSheet
A sheet attached to a screen edge. Usually opened with showCsSheet.
CsSheetHandle
The grab handle at the top of a bottom sheet. It shows the sheet can be dragged; screen reader users can activate it to close the sheet.
CsSheetRoute<T>
Route for sheets opened with showCsSheet. The sheet widget owns all motion; the route only waits for the sheet to say its exit is done before it finalizes, so Navigator.pop still animates the sheet out along the path it came in on.
CsSheetScope
Lets descendants close the sheet they are in.
CsSheetState
CsSideNavigation
Cloudscape's SideNavigation: the list of pages of a service, shown in the navigation drawer of the app layout.
CsSideNavigationChangeDetail
Detail of CsSideNavigation.onChange.
CsSideNavigationDivider
A horizontal divider (Cloudscape type: 'divider').
CsSideNavigationExpandableLinkGroup
A link with collapsible children (Cloudscape type: 'expandable-link-group'). Following the link also expands it.
CsSideNavigationFollowDetail
Detail of CsSideNavigation.onFollow.
CsSideNavigationHeader
The header of CsSideNavigation (Cloudscape SideNavigationProps.Header).
CsSideNavigationItem
An item of CsSideNavigation (Cloudscape SideNavigationProps.Item).
A link (Cloudscape type: 'link').
CsSideNavigationLinkGroup
A link with always-visible children indented under it (Cloudscape type: 'link-group').
CsSideNavigationLinkLike
Items that link somewhere and can show an icon.
CsSideNavigationSection
A collapsible section with a title (Cloudscape type: 'section').
CsSideNavigationSectionGroup
A heading over related items (Cloudscape type: 'section-group'). Not collapsible.
CsSize
Fixed component sizes (size-* tokens) that do not change with density.
CsSizeReveal
Reveals child from the top as sizeFactor goes from 0 to 1, keeping the child at its full size and clipping it, like a vertical SizeTransition pinned to the top edge.
CsSkeleton
Cloudscape's Skeleton: a placeholder shaped like the content that is loading, so the layout does not jump when it arrives.
CsSkeletonLines
Several text skeleton lines, the last one shorter, as a placeholder for a paragraph.
CsSlider
Cloudscape's Slider: picks a number from a range by dragging a handle along a track, for values where the relative position matters more than the exact number (a percentage, a capacity). Pair it with an input when users need to type exact values.
CsSliderI18nStrings
Copy for CsSlider (Cloudscape i18nStrings).
CsSortingColumn<T>
The sorting part of a column definition (Cloudscape SortingColumn).
CsSortingState<T>
The current sort (Cloudscape SortingState).
CsSpace
Cloudscape spacing that is the same in comfortable and compact density. The t-shirt steps (xxxs 2px to xxxl 40px) are the base scale; the named tokens are what specific components use. Density-dependent spacing (space-scaled-*) is on context.cs.space.
CsSpaceBetween
Cloudscape's SpaceBetween: puts a token-sized gap between its children, stacked vertically or in a horizontal row that wraps. Children that are SizedBox.shrink (Cloudscape skips null children) take no gap.
CsSpinner
Cloudscape's Spinner: shows that a short, unknown amount of work is in progress. The ring turns every 0.7s while its two halves grow and shrink.
CsSplitPanel
Cloudscape's SplitPanel: a secondary panel, usually details of the selected table item, shown under or beside the main content of a CsAppLayout.
CsSplitPanelI18nStrings
Copy for CsSplitPanel (Cloudscape SplitPanelProps.I18nStrings).
CsSprings
Springs for anything a finger can touch. Springs start from the current value and carry velocity, so they can be interrupted and reversed mid-flight without a jump. Parameters are a damping ratio and a response time in seconds.
CsStatusIndicator
Cloudscape's StatusIndicator: an icon and short text for the state of a resource or process, such as "Running", "Stopped" or "3 errors".
CsSteps
Cloudscape's Steps: the progress of a multi-step process, such as a deployment or a set of checks, each step with a status.
CsStepsRenderedStep
What CsSteps.renderStep returns for a step.
CsStepsStep
One step of CsSteps (Cloudscape StepsProps.Step).
CsStickyColumnPreference
One radio group of the sticky columns preference.
CsStickyColumns
How many leading and trailing columns stay in place while the table scrolls sideways (Cloudscape stickyColumns).
CsStickyColumnsPreference
The sticky columns preference (Cloudscape stickyColumnsPreference).
CsStrings
Every piece of built-in copy Cloudscape components show or announce (Cloudscape passes these as i18nStrings and ariaLabels props; components here take the same overrides and fall back to these). Override any of it for another language or a product voice with CsLocale.
CsSupportPrompt
One support prompt (Cloudscape SupportPromptGroupProps.Item).
CsSupportPromptGroup
Cloudscape's SupportPromptGroup: suggested prompts a user can send to a generative AI assistant with one tap.
CsSupportPromptGroupState
State of a CsSupportPromptGroup. Reach it with a GlobalKey to move focus to a prompt (Cloudscape ref.focus(itemId)).
CsSwap
A brief cross-fade between two states of one slot (an icon turning into a spinner, a loader giving way to content, a badge changing status), so the change reads as a change instead of a flash. Give each state's child its own Key; a child with the same key and type updates in place.
CsTab
One tab (Cloudscape TabsProps.Tab).
CsTable<T>
Cloudscape's Table: rows of items in columns, with sorting, selection, inline editing, expandable rows, resizable and sticky columns, and the header, filter, pagination and preferences slots of a collection.
CsTableAriaLabels<T>
Accessible labels that depend on the items (Cloudscape ariaLabels).
CsTableBody
Cloudscape's TableBody: the rows of a CsTableRoot. It tells each CsTableRow its position, so striping, row dividers and joined selection outlines come out as in CsTable.
CsTableBodyCell
Cloudscape's TableBodyCell: a data cell, or the row header with isRowHeader. Body text is body-m on space-scaled-xs plus 1px vertical padding (table-cell-vertical), truncated to one line unless wrapLines.
CsTableCellContext
What an editing cell gets to read and change its value (Cloudscape CellContext).
CsTableColumn<T>
One column of a CsTable (Cloudscape ColumnDefinition).
CsTableColumnLayout
How a CsTableRoot sizes its columns (Cloudscape columnLayout).
CsTableEditConfig<T>
Inline editing for a column (Cloudscape EditConfig).
CsTableExpandableRows<T>
Expandable rows (Cloudscape expandableRows).
CsTableGridColumn
One column of a CsTableColumnLayout.grid (Cloudscape TableRootProps.ColumnDefinition).
CsTableHead
Cloudscape's TableHead: the header section of a CsTableRoot, holding one CsTableRow of CsTableHeaderCells. Draws color-background-table-header (transparent in the borderless and embedded variants) with a color-border-divider-default line below.
CsTableHeaderCell
Cloudscape's TableHeaderCell: a column header with the column label, the sorting caret, the divider to the next column and an optional resize handle, styled as CsTable's headers (bold color-text-column-header, color-text-interactive-active when sorted or hovered).
CsTableI18nStrings
Fixed copy used by CsTable (Cloudscape's table i18n messages).
CsTableItemCounterData<T>
Data for a column CsTableColumn.counter (Cloudscape ItemCounterData).
CsTableLabelData
The sort state of a column, handed to CsTableColumn.ariaLabel (Cloudscape LabelData).
CsTablePartsI18nStrings
Copy of the composable table parts.
CsTableRoot
Cloudscape's TableRoot: the frame of a composable table. Compose it from a CsTableHead and a CsTableBody of CsTableRows with CsTableHeaderCells and CsTableBodyCells.
CsTableRow
Cloudscape's TableRow: one row of cells, in the head or the body.
CsTableRowClickDetail<T>
A row press (Cloudscape OnRowClickDetail).
CsTableRowContextMenuDetail<T>
A secondary click or long press on a row (Cloudscape OnRowContextMenuDetail).
CsTableSelectionState<T>
Selection data handed to selection labels (Cloudscape SelectionState).
CsTableState<T>
State of a CsTable. Reach it with a GlobalKey<CsTableState<T>> to call scrollToTop or cancelEdit (Cloudscape Table.Ref).
CsTabs
Cloudscape's Tabs: switches between panels of related content.
CsTabsI18nStrings
Copy for CsTabs.
CsTag
One tag of a CsTagEditor (Cloudscape TagEditorProps.Tag).
CsTagEditor
Cloudscape's TagEditor: an attribute editor for resource tags, with key and value suggestions, Cloudscape's tag validation, a tag limit, and undo for removing tags the resource already has.
CsTagEditorChange
What CsTagEditor.onChange receives (Cloudscape ChangeDetail).
CsTagEditorI18nStrings
Copy for CsTagEditor (Cloudscape TagEditorProps.I18nStrings), with Cloudscape's English defaults.
CsTagEditorState
State of CsTagEditor, reachable through a GlobalKey for focus.
CsTagsDiff
The result of CsTagEditor.getTagsDiff: what to send to a tagging API.
CsTextarea
Cloudscape's Textarea: a multi-line text field for free-form text (a description, a policy note, a list of tags one per line).
CsTextBlock
One block of CsTextContent: a heading, paragraph, small print, code block, list or any widget.
CsTextCode
Inline code (<code>): monospace body-s.
CsTextContent
Cloudscape's TextContent: long-form text with Cloudscape's typography and spacing, such as help panel content or a "How it works" section.
CsTextCustom
Any widget as a block, such as an image or a CsBox.
CsTextFilter
Cloudscape's TextFilter: a search input that filters a table or card list by text, with the number of matches next to it.
CsTextHeading
A heading (<h1> to <h5>).
An inline link (<a>): underlined link color, focusable, Enter follows.
CsTextList
A bulleted (<ul>) or numbered (<ol>) list.
CsTextListItem
One item of a CsTextList: inline content and an optional nested list.
CsTextParagraph
A paragraph (<p>). Pass text for plain text or spans for mixed inline content.
CsTextPre
A preformatted code block (<pre>): monospace body-m, whitespace kept, scrolls sideways instead of wrapping.
CsTextRun
Plain text, optionally bold (<strong>) or italic (<em>).
CsTextSmall
Small print (<small>): body-s in color-text-small.
CsTextSpan
A run of inline content inside a CsTextBlock: plain text, bold or italic text, inline code, a link, or small text.
CsTextWidget
Any widget placed inline on the text baseline, such as a badge.
CsTheme
Makes a resolved CsThemeData available to descendants.
CsThemeData
A resolved Cloudscape theme for one mode and density. Read it with context.cs.
CsThemeProvider
The root of a Cloudscape app. Resolves light or dark mode and density, sets the default text style and cross-fades colors when the mode changes (instantly when motion is disabled).
CsTiles
Cloudscape's Tiles: a single choice from options that each need more room than a radio button: a description, an illustration, a spec line. Each tile is a bordered card with a radio; the selected one gets the selected border and background.
CsTilesItem
One tile of a CsTiles group (Cloudscape TilesDefinition).
CsTimeInput
Cloudscape's TimeInput: a masked text field for a time of day.
CsToggle
Cloudscape's Toggle: an on/off switch for a setting that takes effect immediately. Use CsCheckbox for choices that are saved with a form.
CsToggleButton
Cloudscape's ToggleButton: a button that stays pressed until pressed again, such as "Bookmark" or "Show grid".
CsToken
Cloudscape's Token: a compact representation of a chosen item, such as a selected option or an applied filter, optionally dismissible.
CsTokenGroup
Cloudscape's TokenGroup: a list of dismissible tokens, such as the chosen options of a multiselect or applied filters.
CsTokenGroupI18nStrings
Copy for CsTokenGroup (Cloudscape i18nStrings).
CsTokenGroupItem
One token in a CsTokenGroup (Cloudscape TokenGroupProps.Item).
CsTooltip
Cs's Tooltip: a short label for a control, shown on hover after a delay, immediately on keyboard focus, and on long press with touch.
CsTopNavigation
Cloudscape's TopNavigation: the global bar above the app layout with the product identity, a search field and utilities (notifications, settings, the user menu).
CsTopNavigationButton
A button or link utility (Cloudscape type: 'button').
CsTopNavigationI18nStrings
Copy for CsTopNavigation.
CsTopNavigationIdentity
The product identity at the start of CsTopNavigation.
CsTopNavigationMenuDropdown
A menu utility (Cloudscape type: 'menu-dropdown'), such as the user profile or settings menu.
CsTopNavigationMenuItem
An item of a CsTopNavigationMenuDropdown (Cloudscape button dropdown item). With items it is a group.
CsTopNavigationResponsiveState
One step of collapsing the bar as space runs out (Cloudscape's responsive states).
CsTopNavigationUtility
A utility at the end of CsTopNavigation: a CsTopNavigationButton or a CsTopNavigationMenuDropdown.
CsTreeView<T>
Cloudscape's TreeView: hierarchical items, such as folders and files or nested resources, that people can expand and collapse.
CsTreeViewI18nStrings<T>
Copy for CsTreeView.
CsTreeViewItem
What CsTreeView.renderItem returns for an item (Cloudscape TreeViewProps.TreeItem).
CsTreeViewItemToggleDetail<T>
Detail of CsTreeView.onItemToggle.
CsTruncatedText
Cloudscape's TruncatedText: text that ends with an ellipsis when it does not fit, and shows the full text in a tooltip on hover, keyboard focus or tap.
CsTutorial
A tutorial: tasks of steps that walk the user through the app (Cloudscape TutorialPanelProps.Tutorial).
CsTutorialPanel
Cloudscape's TutorialPanel: lists the available tutorials and, while one runs, its tasks and progress. Place it in the help or tools panel, below a CsAnnotationContext.
CsTutorialPanelI18nStrings
Copy for CsTutorialPanel, English by default (Cloudscape i18nStrings). Indexes passed to the functions are 0-based.
CsTutorialStep
One step of a CsTutorialTask: a popover attached to a hotspotId (Cloudscape TutorialPanelProps.Step).
CsTutorialStepInfo
Where a global step index falls inside the tasks of a tutorial.
CsTutorialTask
A group of steps (Cloudscape TutorialPanelProps.Task).
CsTypography
Font families. Open Sans (SIL OFL) ships with the package; Cloudscape's monospace stack uses system fonts (Monaco, Menlo, Consolas).
CsVisibleContentOption
One option of the visible content preference.
CsVisibleContentOptionsGroup
A group of visible content options.
CsVisibleContentPreference
The visible content preference, recommended for cards (Cloudscape visibleContentPreference).
CsVisualAccent
Cloudscape's Box visualAccent: a tinted tile behind an icon or short label, used to mark categories in cards and lists.
CsVisualContext
Recolors a subtree for one of Cloudscape's visual contexts, the way Cloudscape applies awsui-context-* classes: the dark top navigation, the high-contrast header, the inside of flash messages and alerts.
CsWizard
Cloudscape's Wizard: a multi-page form that walks people through a complex task one step at a time.
CsWizardI18nStrings
Copy for CsWizard (Cloudscape i18nStrings).
CsWizardNavigateDetail
Detail of CsWizard.onNavigate.
CsWizardStep
One step of CsWizard (Cloudscape WizardProps.Step).
Oklch
A color in the OKLCH space, the space Cs defines its tokens in.

Enums

CsActionCardIconVerticalAlignment
Where the icon sits vertically (Cloudscape iconVerticalAlignment).
CsActionCardVariant
Action card sizes (Cloudscape action card variant).
CsAlertType
Alert types (Cloudscape type), each with its own icon and colors.
CsAlign
How a popup lines up with its anchor along the anchor's edge.
CsAppLayoutContentType
Page types (Cloudscape contentType). They set whether the navigation starts open and the default maximum content width.
CsAppLayoutHeaderVariant
Style of the area behind breadcrumbs and the content header (Cloudscape headerVariant).
CsAttributeEditorAddButtonVariant
Style of the add button (Cloudscape addButtonVariant).
CsAvatarColor
Avatar colors (Cloudscape AvatarProps.Color).
CsBadgeColor
Badge colors (Cloudscape color). The severity colors follow the severity scale of security findings and incident tickets.
CsBoardHandle
Which handle of an item an interaction comes from.
CsBoardOperation
What a drag on the board does (Cloudscape BoardProps.DndOperationType).
CsBoxColor
Box text colors (Cloudscape color).
CsBoxFontWeight
Box font weights (Cloudscape fontWeight).
CsBoxVariant
Box text variants (Cloudscape variant). Each sets a default type step, weight, color and vertical padding, like the HTML element it is named after.
CsBreakpoint
Cloudscape's responsive breakpoints (src/internal/breakpoints.ts), used by grids, column layouts and the app layout. Below xs (688px) Cloudscape switches to its mobile layout.
CsButtonDropdownVariant
Button dropdown variants (Cloudscape variant).
CsButtonIconAlign
Which side of the text the icon sits on (Cloudscape iconAlign).
CsButtonVariant
Button variants (Cloudscape variant).
CsCardsVariant
Cards styles (Cloudscape cards variant).
CsChartPopoverSize
Maximum width of the detail popover (Cloudscape detailPopoverSize).
CsChartScaleType
How values map to positions on the x axis (Cloudscape xScaleType).
CsChartSeriesType
The kind of a cartesian chart series (Cloudscape series[].type).
CsChartStatusType
Loading state of a chart's data (Cloudscape statusType).
CsChartYScaleType
How values map to positions on the y (value) axis (Cloudscape yScaleType).
CsChatBubbleAlign
Which side the bubble and its avatar sit on (Cloudscape ChatBubbleProps.Align).
CsChatBubbleType
Chat bubble types (Cloudscape ChatBubbleProps.Type).
CsCodeEditorAnnotationType
Severity of a CsCodeEditorAnnotation (Ace type).
CsCodeEditorTheme
Editor color theme (Cloudscape preferences.theme, which names an Ace theme; this port has Cloudscape's two editor themes).
CsCodeEditorTokenType
What a run of source text is, for coloring.
CsCodeViewTokenType
What a run of source text is, for coloring.
CsCollectionFilterOperation
How a property filter query combines its tokens.
CsColor
Every Cloudscape color token. Names drop the color prefix of the design token: colorTextBodyDefault is CsColor.textBodyDefault.
CsColumnLayoutBorders
Divider lines between columns and rows (Cloudscape borders).
CsColumnLayoutVariant
Column layout styles (Cloudscape variant).
CsContainerMediaPosition
Where container media sits (Cloudscape media.position).
CsContainerVariant
Container styles (Cloudscape variant).
CsContentLayoutHeaderVariant
Header styles of a CsContentLayout (Cloudscape headerVariant).
CsControlGroupDirection
The axis a CsControlGroup lays its controls out along (Cloudscape ControlGroupDirection).
CsCopyToClipboardVariant
Copy to clipboard variants (Cloudscape variant).
CsDateFormat
How a CsDateInput shows its date (Cloudscape format).
CsDateGranularity
What a calendar, date input or date picker selects (Cloudscape granularity).
CsDateInputFormat
The format of a date while it is typed (Cloudscape inputFormat).
CsDateRangeSelectorMode
Which kinds of range can be picked (Cloudscape rangeSelectorMode).
CsDateRangeStartPeriod
Which period the first of two calendar grids shows (Cloudscape absoluteMultiGridStartPeriod).
CsDensity
Content density (Cloudscape's Density mode). Compact tightens vertical spacing and control heights for data-heavy pages.
CsDialogTransition
How a dialog route enters and leaves.
CsDividerOrientation
Orientation of a CsDivider (Cloudscape orientation).
CsDrawerCloseMethod
Why a drawer asked to close (Cloudscape CloseDetail.method).
CsDrawerPlacement
Which edge an overlay drawer attaches to (Cloudscape placement).
CsDrawerPosition
How a CsDrawer is positioned (Cloudscape position).
CsDropdownStatusType
State of a list whose options load asynchronously (Cloudscape statusType).
CsExpandableSectionVariant
Expandable section styles (Cloudscape variant).
CsFieldStatus
Validation state of a field, drawn by CsFieldBox.
CsFileInputVariant
Look of a CsFileInput (Cloudscape variant).
CsFileTokenGroupAlignment
Layout of a CsFileTokenGroup (Cloudscape alignment).
CsFilteringType
How a select, multiselect or button dropdown filters (Cloudscape filteringType).
CsFlashbarAriaRole
How a flash added after the page loaded is announced (Cloudscape ariaRole).
CsFlashbarType
Flash message types (Cloudscape type).
CsFormVariant
Cloudscape's form variants. Cloudscape no longer draws them differently; the value is kept so ported code compiles.
CsGroupedControlPosition
A control's place in a CsControlGroup (Cloudscape GroupedControlPosition).
CsHaptic
Haptic feedback a control fires on its causal event (commit, snap, selection change). Cs is a pointer-first system, so controls default to none; touch-first components opt in.
CsHeaderVariant
Heading levels (Cloudscape variant).
CsHotspotSide
Which side of its child a CsHotspot marker sits on.
CsIconCap
Line cap of an icon stroke.
CsIconSize
Icon sizes (Cloudscape size). Each size has its own stroke width, so small icons stay crisp and large ones do not look thin.
CsIconVariant
Icon color variants (Cloudscape variant). normal takes the color of the surrounding text.
CsInputType
Input types (Cloudscape type). They pick the keyboard, obscure passwords and add the search icon and clear button.
CsItemCardVariant
Item card sizes (Cloudscape item card variant).
CsLinkColor
Link colors (Cloudscape color).
CsLinkFontSize
Font size and line height of a link (Cloudscape fontSize).
CsLinkVariant
Link styles (Cloudscape variant).
CsLoadingBarVariant
Loading bar variants (Cloudscape LoadingBarProps.Variant).
CsModalDismissReason
Why a modal asked to close (Cloudscape onDismiss reason).
CsModalPosition
Vertical placement of a modal (Cloudscape position).
CsModalSize
Modal widths (Cloudscape size). max grows with the window up to the largest width the guidelines allow.
CsNavigationDirection
Which arrow keys move focus within a CsNavigableGroup (Cloudscape navigationDirection).
CsOptionListSelectionType
Whether a CsOptionList picks one option or several (Cloudscape selectionType).
CsPaginationPagesVariant
How pages are shown (Cloudscape pagesVariant).
CsPanelLayoutDisplay
What a CsPanelLayout shows (Cloudscape display).
CsPanelPosition
Which side the panel sits on (Cloudscape panelPosition).
CsPieChartSize
Size of a pie or donut (Cloudscape size): outer radius 50, 100 or 140px.
CsPieChartVariant
Pie, or donut with room for a metric in the middle (Cloudscape variant).
CsPopoverPosition
Which side of the trigger a popover opens on (Cloudscape position). left and right are the start and end sides, so they mirror in right-to-left layouts. When there is not enough room, the popover flips to the opposite side.
CsPopoverSize
Maximum popover widths (Cloudscape size).
CsPopoverTriggerType
What the trigger contains (Cloudscape triggerType).
CsPresentation
How a dropdown opens.
CsProgressBarStatus
Progress bar states (Cloudscape status).
CsProgressBarVariant
Where the progress bar sits (Cloudscape variant).
CsPropertyFilterOperation
How tokens combine (Cloudscape JoinOperation).
CsPropertyFilterOperator
Comparison operators (Cloudscape ComparisonOperator), each with its symbol.
CsRadioGroupDirection
How the radios of a CsRadioGroup are laid out (Cloudscape direction).
CsS3SelectableItems
Item types that can be chosen in the browse modal (Cloudscape SelectableItems).
CsSegmentedControlPresentation
Whether a CsSegmentedControl shows its segments or a select.
CsSelectionType
How items in a table or cards collection are selected (Cloudscape selectionType).
CsSelectTriggerVariant
What a select trigger shows for the chosen option (Cloudscape triggerVariant).
CsSheetEdge
The screen edge a sheet is attached to.
CsSide
Which side of the anchor a popup opens on.
CsSideNavigationFollowType
Kinds of items reported by CsSideNavigation.onFollow.
CsSkeletonVariant
Skeleton heights (Cloudscape variant), matching the line height of a CsTypeScale step. dynamic follows the surrounding text style.
CsSpaceBetweenAlign
Cross-axis alignment of a CsSpaceBetween (Cloudscape alignItems).
CsSpaceBetweenDirection
Direction of a CsSpaceBetween.
CsSpacingSize
Spacing steps for CsBox padding and margin (Cloudscape SpacingSize).
CsSpinnerSize
Spinner sizes.
CsSpinnerVariant
Spinner colors.
CsSplitPanelCloseBehavior
What closing the split panel does (Cloudscape closeBehavior).
CsSplitPanelPosition
Where the split panel docks (Cloudscape splitPanelPreferences.position).
CsStackPosition
Where a stacked container sits in its stack, so its corners and borders match its neighbours (Cloudscape works this out with CSS sibling selectors; Flutter needs it spelled out).
CsStatusColor
Color overrides (Cloudscape colorOverride).
CsStatusDisplay
How the icon and text flow (Cloudscape's internal __display).
CsStatusType
Status types (Cloudscape type), each with its icon and color.
CsStepChangeReason
Why the current step changed (Cloudscape StepChangeDetail.reason).
CsStepsConnectorLines
Connector lines of CsSteps (Cloudscape connectorLines).
CsStepsOrientation
Orientation of CsSteps (Cloudscape orientation).
CsSupportPromptAlignment
Layout of a CsSupportPromptGroup (Cloudscape SupportPromptGroupProps.Alignment).
CsSupportPromptIconPosition
Which side of the text a prompt's icon sits on.
CsSupportPromptIconVerticalAlignment
Vertical alignment of a prompt's icon against multi-line text.
CsTableLoadingStatus
Progressive loading state of a list or an expanded row (Cloudscape LoadingStatus).
CsTableMobileLayout
What the table shows on phones (at or below 688px).
CsTableSortingState
Sorting state of a CsTableHeaderCell (Cloudscape sortingState: 'sortable' | 'ascending' | 'descending', aria-sort).
CsTableVariant
Table styles (Cloudscape variant).
CsTableVerticalAlign
Vertical alignment of cell content (Cloudscape verticalAlign).
CsTabsKeyboardActivation
When arrow keys activate a tab (Cloudscape keyboardActivationMode).
CsTabsVariant
Tabs styles (Cloudscape variant).
CsTapTargetSize
How large interactive targets are.
CsTextHeadingLevel
Heading levels of CsTextHeading, h1 to h5.
CsThemeMode
Which color mode a CsThemeProvider shows.
CsTimeInputFormat
The parts a CsTimeInput accepts (Cloudscape format).
CsTimeUnit
Units of a relative range (Cloudscape TimeUnit).
CsToggleButtonVariant
Toggle button variants (Cloudscape variant).
CsTokenGroupAlignment
How tokens are laid out (Cloudscape alignment).
CsTokenVariant
Token sizes (Cloudscape variant).
CsTopNavigationButtonVariant
Style of a CsTopNavigationButton.
CsTopNavigationVisualContext
Colors of CsTopNavigation (Cloudscape visualContext).
CsTreeViewConnectorLines
Connector lines of CsTreeView (Cloudscape connectorLines).
CsTypeScale
Cloudscape's type scale. Each step pairs the font-size-*, line-height-*, font-weight-* and letter-spacing-* tokens of the same name. Content text is bodyM (14/20); bodyS (12/16) is for secondary detail. Headings and displays are bold.
CsVisualAccentColor
Accent colors for CsVisualAccent.
CsVisualContextName
Places in the UI where Cloudscape recolors part of its tokens, such as the dark top navigation bar or the dark high-contrast page header. Apply one to a subtree with CsVisualContext.
CsWizardNavigationReason
Why CsWizard.onNavigate fired (Cloudscape NavigationReason).
CsWizardStepStatus
How a step shows in the step list, from Cloudscape's getStepStatus.

Mixins

CsTextFieldState<T extends StatefulWidget>
Shared state for controlled text controls (CsInput, CsTextarea, CsAutosuggest, date and time inputs): owns a TextEditingController kept in sync with the widget's value, and a FocusNode whose focus is mirrored in focused.

Extensions

CsBreakpointContext on BuildContext
Breakpoint helpers on BuildContext.
CsStringsContext on BuildContext
context.csStrings shorthand for CsLocale.of.
CsThemeContext on BuildContext
context.cs shorthand for CsTheme.of.

Functions

csCollapsedFlashSelection(List<CsFlashbarItem> items, int desiredLength) → List<int>
Which items a collapsed stack shows, as indexes into items (newest first), so every message color present is represented (getVisibleCollapsedItems in Cloudscape's flashbar/utils.ts).
csCollectionMatchOperator(Object? itemValue, String operator, Object? tokenValue) → bool
Matches itemValue against tokenValue with a property filter operator, the way collection hooks do: text operators are case-insensitive, comparisons are numeric when both sides are numbers.
csCompareValues(Object? a, Object? b) → int
Compares two field values the way JavaScript's < does for the types a collection holds: nulls first, numbers numerically, strings by code unit, booleans false before true, and anything else by its string form.
csDefaultFieldGetter<T>(T item, String field) → Object?
Reads field from item when it is a map; otherwise returns null.
csHaptic(CsHaptic haptic) → void
Fires haptic through the platform haptics engine.
csMaterialTheme(CsThemeData cs) → ThemeData
Builds a Material ThemeData from a Cloudscape theme, so Material widgets you still use (Scaffold, scrollbars, text selection) match Cloudscape colors and type. Ink splashes are off: Cloudscape controls give feedback with color and scale.
csS3FormatSize(int? bytes) → String
Formats a byte count the way Cloudscape's selector does ("1.5 KB").
csS3SplitUri(String uri) → (String, String)
Splits an S3 URI into the bucket name and the object path.
csS3ValidateUri(String uri, [CsS3ResourceSelectorI18nStrings s = const CsS3ResourceSelectorI18nStrings()]) → String?
Validates an S3 URI the way Cloudscape's selector does and returns the message for the first rule it breaks, or null when it is valid (an empty URI is valid).
debugDeltaEok(List<double> a, List<double> b) → double
Exposed for tests: perceptual distance between two sRGB triples (0 to 1).
parseCsInlineMarkdown(String text, {ValueChanged<String>? onFollowLink}) → List<CsTextSpan>
Parses inline Markdown: **bold**, *italic*, `code` and [text](target) links.
parseCsMarkdown(String source, {ValueChanged<String>? onFollowLink}) → List<CsTextBlock>
Parses the Markdown subset described on CsTextContent.markdown.
parseSvgPath(String data) → Path
Parses SVG path data (M, L, H, V, C, S, Q, T, A, Z, absolute and relative) into a ui.Path.
registerCsLicenses() → void
Adds the licenses of the bundled Open Sans font (SIL OFL) and of Cloudscape (Apache 2.0, the source of the tokens and icons) to Flutter's license registry, so they appear on showLicensePage.
showCsModal<T>({required BuildContext context, required WidgetBuilder builder, String? header, Widget? headerWidget, WidgetBuilder? footerBuilder, CsModalSize size = CsModalSize.medium, CsModalPosition position = CsModalPosition.center, bool hideDismissButton = false, bool dismissible = true, String? closeAriaLabel, bool disableContentPaddings = false, double? width, double? height, bool useRootNavigator = true}) → Future<T?>
Opens a CsModal in its own route and completes with the value it is closed with. Close it from inside with Navigator.of(context).pop(value).
showCsSheet<T>({required BuildContext context, required WidgetBuilder builder, CsSheetEdge edge = CsSheetEdge.bottom, List<double>? snapPoints, int? initialSnapPointIndex, bool dismissible = true, bool showHandle = true, double maxExtentFraction = 0.85, String? semanticLabel, bool useRootNavigator = true}) → Future<T?>
Opens a sheet attached to a screen edge and returns the value it closes with. Bottom sheets follow the finger, snap to snapPoints by release velocity and dismiss with a flick toward the edge; Escape, a scrim tap and the back gesture close it along the same path it came in on.

Typedefs

CsAbsoluteRangeControlBuilder = Widget Function(BuildContext context, CsPendingAbsoluteRange range, ValueChanged<CsPendingAbsoluteRange> setRange)
Extra content under the absolute calendar (Cloudscape customAbsoluteRangeControl): gets the pending range and a setter.
CsAttributeEditorRenderable<T, R> = R Function(T item, int itemIndex)
Builds one piece of a row (a control, an error message) from the row's item and index (Cloudscape FieldRenderable).
CsBoardItemBuilder<T> = Widget Function(BuildContext context, CsBoardEntry<T> item, CsBoardItemActions actions)
Builds the widget for one board item. Return a CsBoardItem.
CsChartDetailPopoverSeriesContent<T> = CsChartSeriesDetail Function(CsChartSeries<T> series, T x, num y)
Builds custom popover content for series at x, whose value is y (Cloudscape detailPopoverSeriesContent).
CsChartTickFormatter<V> = String Function(V value)
Formats an axis tick label.
CsChartValueFormatter<T> = String Function(num y, T x)
Formats a value for the detail popover: the y value and its x position.
CsCodeEditorValidator = List<CsCodeEditorAnnotation> Function(String value)
Checks code and returns its problems.
CsCodeViewHighlight = List<CsCodeViewToken> Function(String code)
Turns source code into colored tokens (Cloudscape code view's highlight function). Joining every token's text gives back the code.
CsDateDisabledReason = String? Function(DateTime date)
Explains why a day can not be picked (Cloudscape dateDisabledReason). Return null or an empty string for no reason.
CsDateRangeTriggerBuilder = Widget Function(BuildContext context, String formattedDate)
Replaces the trigger content (Cloudscape renderTriggerContent); gets the formatted range, or the placeholder.
CsDateRangeValidator = CsDateRangeValidationResult Function(CsDateRangeValue? value)
Checks a range before it is applied. Receives null when nothing is selected.
CsDropdownBuilder = Widget Function(BuildContext context, bool inSheet)
Builds dropdown content. inSheet is true when it shows in a bottom sheet, where content should fill the width and may add a title.
CsFieldGetter<T> = Object? Function(T item, String field)
Reads a named field from an item. Used where Cloudscape reads a property by name (sortingField, text filtering fields, property filter keys). Items that are Map<String, Object?> are read by key without one.
CsFilePicker = Future<List<CsFile>?> Function(CsFilePickRequest request)
Opens the app's own file picker and returns what the user chose, or null (or an empty list) when they cancelled.
CsHeaderBackgroundBuilder = Decoration Function(Brightness brightness)
Builds the header background from the current brightness (Cloudscape headerBackgroundStyle, which takes a CSS background or a function of the color mode).
CsIsDateEnabled = bool Function(DateTime date)
Decides whether a day (or month) can be picked (Cloudscape isDateEnabled).
CsItemsPaletteItemBuilder<T> = Widget Function(BuildContext context, CsItemsPaletteItem<T> item, CsItemsPaletteItemContext itemContext)
Builds the widget for one palette item. Return a CsBoardItem.
CsOpenCalendarAriaLabel = String Function(String? selectedDate)
Builds the accessible name of the calendar button from the selected date ("January 5, 2026"), or null when nothing is selected.
CsPieChartDetailPopoverContent<T> = List<CsChartDetailPair> Function(T segment, num visibleDataSum)
Builds the key-value rows of a segment's popover from the segment and the sum of the visible segments.
CsPieChartSegmentDescription<T> = String Function(T segment, num visibleDataSum)
A short description under a segment's label, from the segment and the sum of the visible segments.
CsPopupBuilder = Widget Function(BuildContext context, CsPopupPlacement placement)
Builds a popup for a resolved placement.
CsPressableBuilder = Widget Function(BuildContext context, CsPressState state)
Builds a control's visuals from its interaction state.
CsRelativeRangeContentBuilder = Widget Function(BuildContext context, CsRelativeDateRange? range, ValueChanged<CsRelativeDateRange> setRange)
Replaces the relative tab (Cloudscape renderRelativeRangeContent).
CsTrackBy<T> = Object? Function(T item)
Returns a stable identity for item (Cloudscape trackBy). It connects items with selectedItems and expandedItems when they are different object instances, and keeps row state (editing, focus) attached to the right item when the list is re-sorted.