ckcore_core library

Classes

BrandIcon
Normalized brand icon asset paths and helpers.
Breadcrumb item model.
CastleKeepColors
CastleKeepDarkTheme
CastleKeepLightTheme
CastleKeepTypography
CKAccordion
CKAccordionItem
Item model for CKAccordion.
CKAlert
Alert component for displaying messages with semantic color variants.
CKAnimate
Wraps any widget with a token-driven entrance animation.
CKApp
High-level Material app wrapper that automatically applies CKCoreUI themes.
CKAppBar
App bar used across the design system.
CKAvatar
Circular (or square) avatar widget supporting initials, images and status.
CKAvatarGroup
Compact avatar group that shows overlapping CKAvatar instances.
CKBadge
Badge component for displaying labels, counts, and status indicators.
CKBottomNavigation
CKBottomSheet
Bottom sheet that follows the design system surface and spacing.
CKBreadcrumb
Hierarchical breadcrumb navigation trail.
CKBreakpoints
Public accessor for breakpoint tokens from the active theme.
CKButton
Button widget that follows the design system tokens and variants.
CKCard
Card component with optional media, action and variant styling.
CKCheckbox
Styled checkbox with optional label and status variants.
CKColors
Public accessor for color tokens from the active theme.
CKContainer
Generic surface container that applies design-system background, borders, and padding. The default appearance uses the surface background.
ckcoreApp
Deprecated: Use CKApp instead.
ckcoreBreakpoints
Breakpoint definitions for responsive layouts.
ckcoreColors
Semantic color tokens.
ckcoreElevation
Elevation tokens.
ckcoreMotion
Motion durations and curves used by the design system.
ckcoreOpacity
Opacity scale used across the design system.
ckcorePrimitiveColors
ckcoreRadius
Corner radius tokens used across the design system.
ckcoreShadows
Shadow definitions used by the design system for different elevations.
ckcoreSpacing
Spacing scale used throughout the design system.
ckcoreTheme
Backwards-compatible widget with the old lowercase API used by docs/examples.
ckcoreThemeResolver
ckcoreTypography
Typography styles used across the design system.
CkcoreuiTheme
InheritedWidget that provides CkcoreuiThemeData to the widget tree.
CkcoreuiThemeData
Immutable theme data for a brand + brightness combination.
CKDataTable
CKDatePicker
Date picker trigger and display field.
CKDialog
Dialog widget with convenience show and showDestructive helpers.
CKDivider
Thin separator line, horizontal by default.
CKDrawer
App drawer that displays app name, optional user info and navigation items.
CKDrawerItem
Simple item model used by CKDrawer.
CKDropdown<T>
Dropdown component styled to match CKTextField.
CKEditableCell
Configuration for an editable cell in CKDataTable.
CKElevation
Public accessor for elevation tokens from the active theme.
CKEmptyState
Centered message for a list, table or page that has nothing to show.
CKErrorState
Centered message for when something failed to load.
CKFab
CKFilterChip
CKIconButton
Compact icon button with consistent spacing and disabled handling.
CKInputChip
CKListTile
List tile used by list views and selection lists.
CKLoader
Loader/spinner component with multiple animation styles.
CKLoadingState
CKMenu
CKMenuItem
Model for items in a menu.
CKMotion
Public accessor for motion tokens from the active theme.
CKNavigationRail
Vertical navigation rail for tablet / desktop.
CKNavItem
Model for a navigation item.
CKNumberStepper
Number stepper styled to match CKTextField.
CKOpacity
Public accessor for opacity tokens from the active theme.
CKOtpField
One-time-password (OTP) input represented as multiple fixed-width cells.
CKPasswordField
Password field built on top of CKTextField with toggleable visibility.
CKPopover
Popover panel anchored to a trigger widget.
CKProgressBar
Progress bar component with semantic color variants.
CKRadio<T>
Radio control with optional label and variant coloring.
CKRadius
Public accessor for radius tokens from the active theme.
CKScreenLayout
Responsive screen layout with side navigation and body content.
CKSearchField
Search field wrapper providing a leading search icon and optional clear.
CKShadows
Public accessor for shadow tokens from the active theme.
CKSideNav
Collapsible side navigation used by app shells.
CKSideNavItem
Model for side navigation item.
CKSideNavSection
Section container for side navigation items.
CKSkeleton
Placeholder block with a gentle pulse while content loads.
CKSlider
CKSnackbar
Shows a CKToast as transient feedback.
CKSpacing
Public accessor for spacing tokens from the active theme.
CKStep
Small model representing a single step.
CKStepper
CKSwitch
Switch control with label support and optional variant coloring.
CKTab
Model for a tab entry.
CKTableColumn
CKTableFilter
Represents a single filter condition for a CKDataTable column.
CKTabs
Tabs component supporting line, pill and card variants.
CKTextField
Text field component with validation, helper and success states.
CKTimeline
CKTimelineEvent
Event model for CKTimeline.
CKTimePicker
Time picker trigger and display field.
CKToast
Toast notification component with semantic color variants.
CKTooltip
Contextual tooltip on long-press or hover.
CKTypography
Public accessor for typography tokens from the active theme.
ColumnHeaderRow
DataRowWidget
EditableCellWidget
EllipsisWidget
LucideIcons
Lucide Icons (Regular Weight)
PageButton
PageNumberButton
PaginationWidget
SkyGoColors
SkyGoDarkTheme
SkyGoLightTheme
SkyGoTypography
SortIcon
TableCellWidget
TableFooter
TableHeader

Enums

AlertVariant
Variants for alert messages.
AppBarStyle
Styles for app bars.
AvatarSize
Avatar size options.
AvatarStatus
Presence/status for avatars.
BadgeVariant
Variants for badge appearance.
BrandIconVariant
Variant selections for brand icon helpers.
ButtonHoverStyle
How a CKButton reacts to a mouse hover.
ButtonSize
Size options for buttons.
ButtonVariant
Variants for CKButton styling.
CardLayout
Layout orientations for cards.
CardVariant
Variants for card styling.
ChipState
State for chips.
CKAnimation
Entrance effects supported by CKAnimate.
CKColumnType
Column data types used by the table component.
ckcoreBrand
The brand identifier for the Company Design System.
CKDatePickerMode
Selection mode for the date picker.
CKFilterOperator
Filter operators supported by CKDataTable.
CKSnackbarPosition
Positions for the snackbar.
CKStepperOrientation
Orientation for the stepper widget.
CKTimelineOrientation
Orientation for timeline layouts.
ContainerVariant
Variants for container surfaces.
ContentAlignment
Alignment options for media and trailing elements in components.
LoaderType
Types of loader widgets supported.
ProgressVariant
Variants for progress indicators.
SideNavStyle
Style variants for side navigation.
StepStatus
Status for a step in a stepper.
SwitchVariant
Variants for styled switches.
TableSelectionMode
Selection modes for tables.
TableWidthBehavior
Width behavior for table columns.
TabVariant
Variants for tabs.
ToastVariant
Variants for toast notifications.

Extensions

ckcoreBrandX on ckcoreBrand
ckcoreThemeContext on BuildContext
Convenience extension so widgets can read the theme with minimal ceremony.
ckTokensContext on BuildContext
Extension providing ergonomic access to design tokens from the active theme.
TextStyleExtensions on Text
Extension methods on Text for applying design system text styles.

Functions

resolveTableWidths({required BuildContext context, required List<CKTableColumn> columns, required double available, required bool hasSelection, required TableWidthBehavior widthBehavior}) → Map<String, double>

Typedefs

ckcoreaccordion = CKAccordion
Deprecated: Use CKAccordion instead.
ckcorealert = CKAlert
Deprecated: Use CKAlert instead.
ckcoreavatar = CKAvatar
Deprecated: Use CKAvatar instead.
ckcorebadge = CKBadge
Deprecated: Use CKBadge instead.
ckcorebutton = CKButton
Deprecated: Use CKButton instead.
ckcorecard = CKCard
Deprecated: Use CKCard instead.
ckcorecheckbox = CKCheckbox
Deprecated: Use CKCheckbox instead.
ckcorecontainer = CKContainer
Deprecated: Use CKContainer instead.
ckcoredataTable = CKDataTable
Deprecated: Use CKDataTable instead.
ckcoredatePicker = CKDatePicker
Deprecated: Use CKDatePicker instead.
ckcoredivider = CKDivider
Deprecated: Use CKDivider instead.
ckcoredropdown = CKDropdown
Deprecated: Use CKDropdown instead.
ckcoreemptyState = CKEmptyState
Deprecated: Use CKEmptyState instead.
ckcoreerrorState = CKErrorState
Deprecated: Use CKErrorState instead.
ckcoreFab = CKFab
Deprecated: Use CKFab instead.
ckcorefilterChip = CKFilterChip
Deprecated: Use CKFilterChip instead.
ckcoreiconButton = CKIconButton
Deprecated: Use CKIconButton instead.
ckcorelistTile = CKListTile
Deprecated: Use CKListTile instead.
ckcoreloader = CKLoader
Deprecated: Use CKLoader instead.
ckcoreloadingState = CKLoadingState
Deprecated: Use CKLoadingState instead.
ckcorenumberStepper = CKNumberStepper
Deprecated: Use CKNumberStepper instead.
ckcoreotpField = CKOtpField
Deprecated: Use CKOtpField instead.
ckcorepasswordField = CKPasswordField
Deprecated: Use CKPasswordField instead.
ckcoreprogressBar = CKProgressBar
Deprecated: Use CKProgressBar instead.
ckcoreradio = CKRadio
Deprecated: Use CKRadio instead.
ckcoreskeleton = CKSkeleton
Deprecated: Use CKSkeleton instead.
ckcorestepper = CKStepper
Deprecated: Use CKStepper instead.
ckcoreswitch = CKSwitch
Deprecated: Use CKSwitch instead.
ckcoretableColumn = CKTableColumn
Deprecated: Use CKTableColumn instead.
ckcoretextField = CKTextField
Deprecated: Use CKTextField instead.
ckcoreThemeData = CkcoreuiThemeData
Backwards-compatible alias used across examples/docs expecting the lowercase ckcoreThemeData identifier.
ckcoretimeline = CKTimeline
Deprecated: Use CKTimeline instead.
ckcoretimePicker = CKTimePicker
Deprecated: Use CKTimePicker instead.
ckcoretoast = CKToast
Deprecated: Use CKToast instead.
CKCoreUISnackbar = CKSnackbar
Deprecated: Use CKSnackbar instead.
CkgocApp = ckcoreApp
Deprecated typedef for backward compatibility. Use CKApp instead.
CkgocAppBar = CKAppBar
Backwards-compatible alias for the old CkgocAppBar widget name.
CkgocBrand = ckcoreBrand
Backwards-compatible alias for the old CkgocBrand enum name.