layrz_ui library

Classes

AllDayBand
The shared all-day/multi-day band rendered across the top of LayrzCalendarWeekSurface (spanning all seven columns) and LayrzCalendarDaySurface (spanning its single column).
AvatarLayo
Frames the existing Layo mascot as an avatar — a colored, bordered shape (circle or rounded box) showing a head-and-shoulders portrait crop of Layo, the way a profile photo frames a person's face rather than their whole body.
FindHighlightPainter
Paints a filled, rounded-rect highlight over every rect in every MatchHighlight in highlights, the way a browser's native Ctrl+F renders its find results — each occurrence gets a solid highlight box behind the matched text, with the entry at currentIndex painted in a visually distinct color so a find-in-page overlay can show "you are here" among possibly many results.
FindKeyCapture
A handle to an installed find-key capture, returned by installFindKeyCapture. Call dispose exactly once, when the capture is no longer needed (typically from a State.dispose).
FindMatch
One matched SemanticsNode found by a browser-style "find in page" query.
HourAxis
The shared left-edge hour axis rendered once by LayrzCalendarDaySurface and once (shared across all seven columns) by LayrzCalendarWeekSurface.
HourGridColumn
One day's worth of the timed hour grid: 24 fixed-height hour rows with horizontal divider lines, overlaid with timedEventBlocks for entries.
Layo
The "MrLayo" brand mascot, rendered entirely with CustomPainter — no bundled image or SVG asset.
LayoController
A controller that drives which LayoEmotion transition TransitionedLayo is currently playing.
LayoPainter
Paints the Layo brand mascot's face onto a canvas of an arbitrary Size, for whichever LayoEmotion it is configured with.
LayrzAccordion
A single, Material-free disclosure panel that expands and collapses to reveal its body content.
LayrzAccordionStyleSpec
Immutable specification of visual properties for a LayrzAccordion header in a given interaction state.
LayrzAiMarker
An icon-only marker disclosing that nearby content was generated or assisted by AI.
LayrzAiMarkerWrapper
Overlays a LayrzAiMarker on a corner of child without affecting child's layout footprint.
LayrzAlert
An inline status callout that communicates information, success, warnings, or errors.
LayrzAlertIcon
A rounded square icon chip for displaying semantic alert icons.
LayrzAlertStyleSpec
Immutable specification of visual properties for a LayrzAlert in a given style.
LayrzAnchoredPanel
A Material-free anchored overlay panel in the layrz_ui design system.
LayrzAnchoredPanelBorder
Describes an optional border painted around LayrzAnchoredPanel's own decorated box -- the box that wraps its scroll viewport and is clamped to LayrzAnchoredPanel.maxHeight -- rather than around any content the caller passes as child.
LayrzAnchoredPanelLayoutDelegate
Positions an anchored panel on any of the four sides of its anchor, with cross-axis alignment and width clamping.
LayrzAnchoredPanelWidthBounds
Bounds for content-sized width policy: minimum and maximum width in logical pixels.
LayrzApp
Root application widget for layrz_ui.
LayrzAppBanner
Configuration for LayrzApp's debug-only tiled diagonal watermark.
LayrzAppBannerPainter
Paints labelText repeated in a diagonal tiled pattern across the whole canvas at low opacity, forming a debug-only watermark for LayrzApp.
LayrzAvatar
A static avatar display widget for the layrz_ui design system.
LayrzAvatarBase64
Avatar source: display an image from a base64-encoded string.
LayrzAvatarEmoji
Avatar source: display a Unicode emoji glyph.
LayrzAvatarIcon
Avatar source: display an icon from a MdiRemapIcon.
LayrzAvatarSource
Sealed hierarchy representing the source and type of an avatar.
LayrzAvatarUrl
Avatar source: display an image from a network URL or base64 string.
LayrzBadge
Overlays a LayrzBadge notification indicator on top of child.
LayrzBadgeStyleSpec
Immutable specification of visual properties for a LayrzBadge (or its bare visual) in a given semantic type.
LayrzBadgeVisual
The bare, positioned visual for a notification badge.
LayrzBorderTokens
Immutable border tokens for stroke widths and border sides in the design system.
LayrzBottomSheet
A modal or persistent bottom sheet component for presenting content above the page.
LayrzBottomSheetConfig
Sheet-only configuration for LayrzResponsiveModal.show.
LayrzBreakpointTokens
Immutable breakpoint tokens defining responsive band thresholds.
LayrzButton
A Material-free button widget in the layrz_ui design system.
LayrzButtonController
A controller that drives the busy state of one or more LayrzButton widgets.
LayrzButtonGroup
A group of actions rendered as a row of buttons or, on narrow viewports, as a single trigger button opening a dropdown menu.
LayrzButtonStyleSpec
Immutable specification of visual properties for a LayrzButton in a given state.
LayrzCalendar
A calendar surface with support for disabled dates, single- and multi-day events, and switching between month, week and day views.
LayrzCalendarController
A controller that drives the focused date and view mode of a LayrzCalendar.
LayrzCalendarDayCell
A single day cell in a LayrzCalendar month grid.
LayrzCalendarDayCellStyleSpec
Immutable specification of visual properties for a single day cell in a LayrzCalendar, resolved once per cell from LayrzTokens and the cell's own state.
LayrzCalendarDaySurface
The layout surface for LayrzCalendarMode.day: a single column with a fixed, always-visible 00:00–23:00 hour axis, plus an all-day band for any multi-day or all-day-length entries occupying focusedDate.
LayrzCalendarEntry
An immutable data class representing a single event rendered on a LayrzCalendar.
LayrzCalendarHeader
The navigation chrome rendered above a LayrzCalendar's active surface: previous/next buttons flanking the focused period's label ([◀] August 2026 [▶]), a "Today" shortcut, and a view-mode switcher row.
LayrzCalendarLaneAssignment
The lane assignment produced for one multi-day LayrzCalendarEntry by assignLanes.
LayrzCalendarLaneAssignments
The result of packing a month's multi-day LayrzCalendarEntry list into lanes via assignLanes.
LayrzCalendarMonthSurface
The layout surface for LayrzCalendarMode.month: a full month grid, one row per week, seven columns ordered from firstDayOfWeek, with leading and trailing days from the adjacent months filling out the first and last rows so the grid is always a rectangle.
LayrzCalendarWeekGutter
A column of tappable ISO 8601 week numbers rendered beside a LayrzCalendarMonthSurface's month grid, one number per week row.
LayrzCalendarWeekSurface
The layout surface for LayrzCalendarMode.week: seven day columns sharing one left-edge hour axis and one all-day/multi-day band spanning all seven columns, ordered from firstDayOfWeek.
LayrzCard
A Material-free card widget in the layrz_ui design system.
LayrzCheckboxInput
A Material-free, accessible checkbox input control in the layrz_ui design system.
LayrzChip
A Material-free chip widget in the layrz_ui design system.
LayrzChipGroup
A group of LayrzChip widgets with configurable layout behavior.
LayrzChipStyleSpec
Immutable specification of visual properties for a LayrzChip in a given style.
LayrzCol
A responsive column widget that adjusts its span (1–12) based on the viewport width.
LayrzColorInput
A Material-free color input field, resolving to a single Color.
LayrzColors
Material Design color palette swatches for the layrz_ui design system.
LayrzColorSwatch
A colour with a range of tonal shades, equivalent to Material's MaterialColor but built on ColorSwatch so it carries no Material dependency.
LayrzColorTokens
Immutable semantic color tokens for the layrz_ui design system.
LayrzComboBoxInput
A Material-free combobox input in the layrz_ui design system.
LayrzConstrainedView
A constrained container that limits the width of its children and centers them horizontally.
LayrzContextMenu
A Material-free wrapper widget that shows a context menu anchored at the pointer position, in the layrz_ui design system.
LayrzContextMenuDivider
A thin horizontal separator line rendered inside a LayrzContextMenu panel.
LayrzContextMenuEntry
An interactive, tappable row in a LayrzContextMenu panel.
LayrzContextMenuItem
Base class for the entries a LayrzContextMenu can render in its panel.
LayrzContextMenuLabel
A non-interactive section heading rendered inside a LayrzContextMenu panel.
LayrzContextMenuLayoutDelegate
Positions a LayrzContextMenu panel at the pointer location that opened it, flipping and clamping as needed so the panel never overflows the overlay bounds.
LayrzDateInput
A Material-free single-date input field.
LayrzDateRange
An immutable, always-valid, always-contiguous span between two dates.
LayrzDateRangeInput
A Material-free date-range input field.
LayrzDateTimeInput
A Material-free single-datetime input field.
LayrzDateTimeRangeInput
A Material-free start/end datetime-range input field.
LayrzDialog
A modal dialog surface for presenting focused, page-relative interruptions.
LayrzDialogConfig
Dialog-only configuration for LayrzResponsiveModal.show.
LayrzDropdownEntry
An interactive entry in a dropdown menu.
LayrzDropdownItem
Base class for items that a LayrzDropdownMenu can render.
LayrzDropdownLabel
A non-interactive section heading in a dropdown menu.
LayrzDropdownMenu
A Material-free dropdown menu widget in the layrz_ui design system.
LayrzDurationInput
A Material-free duration input field in the layrz_ui design system.
LayrzDynamicAvatarInput
A Material-free, composed avatar picker input, backed by LayrzAvatarSource, in the layrz_ui design system.
LayrzEmojiInput
A Material-free single-emoji input field, sourced from the emojis package (package:emojis/emoji.dart).
LayrzFileInput
A Material-free, drag-and-drop file drop-zone in the layrz_ui design system.
LayrzFileInputPreview
Renders a single picked-or-dropped file inside LayrzFileInput's populated state: an image thumbnail for image files (via LayrzImage), or a name+icon chip for anything else.
LayrzFileInputResult
An immutable, picked-or-dropped file, as produced by LayrzFileInput.
LayrzFileInputStyleSpec
Immutable specification of visual properties for LayrzFileInput's drop-zone box in a given LayrzFileInputState.
LayrzFindBar
The floating, browser-style find bar for LayrzFindInPageHost.
LayrzFindInPageController
Owns the search state and lifecycle behind LayrzFindInPageHost — production home of the mechanism proven by the DESIGN-109 spike (example/lib/src/sections/find_in_page/find_spike.dart).
LayrzFindInPageHost
The invisible, app-wide host behind browser-style Ctrl/Cmd+F find-in-page.
LayrzFindInPageHostState
The State backing LayrzFindInPageHost.
LayrzFoldSplit
A resolved fold-aware split of a LayrzScaffoldShell's content, produced by resolveFoldSplit.
LayrzFont
A font, and the styles it supplies for each role in the type scale.
LayrzForm
A behavioural autofill wrapper that commits or discards a browser/OS password manager's pending credential save, based on whether onSubmit succeeded.
LayrzIconInput
A Material-free single-icon input field, sourced from the flutter_mdi_remap package's ~7,447-entry Material Design Icons registry.
LayrzIconSurface
The surface content for LayrzIconInput: a search field and a LayrzGlyphGrid of MdiRemapIcon entries drawn from the flutter_mdi_remap registry (~7,447 icons).
LayrzIconSurfaceState
The State for LayrzIconSurface — public so a caller (mirroring the date/month/emoji surfaces' own GlobalKey<...State> convention) can attach a GlobalKey to it without a private-type analyzer warning, should a future caller need to reach into it.
LayrzImage
A Material-free image widget that displays raster and vector images.
LayrzImageInput
A Material-free, single-image avatar-style picker with a live preview, in the layrz_ui design system.
LayrzJetBrainsMonoFont
A JetBrains Mono font implementation using a bundled variable font asset.
LayrzLabeledProgressBar
Composes a painted progress bar with its value-percentage label on top, via a Stack rather than folding text painting into LayrzProgressPainter itself — that painter's concern is track/fill geometry only, shared by both the linear and circular formats, and label painting is a linear-only, opt-in concern layered above it.
LayrzLayout
An opinionated application shell layout for layrz_ui apps.
LayrzModalRoute<T>
Shared route machinery for every modal surface in the design system.
LayrzMonth
An immutable, calendar-day-free representation of a single month.
LayrzMonthInput
A Material-free month+year input field.
LayrzMonthRange
An immutable, always-valid, always-contiguous span between two months.
LayrzMonthRangeInput
A Material-free month-range input field.
LayrzMotionTokens
Immutable motion tokens for animation durations and easing curves in the design system.
LayrzMultiSelectInput<T>
A Material-free, adaptive multiple-value picker input in the layrz_ui design system.
LayrzNavigatorItem
Sealed hierarchy representing a single item in the LayrzLayout navigation.
LayrzNavigatorLabel
A non-interactive section caption in LayrzLayout navigation.
LayrzNavigatorPage
A navigable destination in LayrzLayout.
LayrzNotificationItem
A single notification displayed in the LayrzLayout notifications panel.
LayrzNotoColorEmojiFont
A Noto Color Emoji font implementation using a bundled COLR/CPAL font asset.
LayrzNumberInput
A Material-free numeric input field in the layrz_ui design system.
LayrzPageTransitions
A namespace of ready-made LayrzTransitionBuilder functions for page transitions, usable with both Flutter's imperative Navigator (via PageRouteBuilder.transitionsBuilder) and go_router (via CustomTransitionPage.transitionsBuilder) without adding a dependency on go_router — see LayrzTransitionBuilder's doc comment for why the two call sites accept the same function shape.
LayrzPasswordInput
A login-specialized password input with a show/hide toggle and an optional, informational strength meter.
LayrzPasswordRequirements
Per-requirement pass/fail flags plus the derived validity, 0–4 level, and semantic color for one password value — computed by the EXACT rules layrz_theme's ThemedPasswordInput uses (see password_input.dart in the layrz_theme package, _ThemedPasswordInputState.requirements/.allowed/._isValid/._level/._color), so the two design systems' password-strength readings never disagree for the same input.
LayrzPasswordStrengthMeter
A persistent, informational password-strength indicator: a full-width, 4-segment fill bar followed by a checklist of the four character-class requirements.
LayrzProgressBar
A standardized progress indicator with determinate and indeterminate modes, in either a linear (bar) or circular (ring) format.
LayrzProgressLabelPainter
Paints the value label for LayrzProgressBar's linear, determinate mode.
LayrzProgressPainter
Paints the track and indicator for LayrzProgressBar, in either its LayrzProgressFormat.linear (rounded-capsule) or LayrzProgressFormat.circular (ring) shape.
LayrzProgressStyleSpec
Immutable specification of visual properties for a LayrzProgressBar.
LayrzRadioInput<T>
A Material-free radio button group with responsive option grid in the layrz_ui design system.
LayrzRadiusTokens
Immutable border radius tokens for rounded corners in the design system.
LayrzRefreshController
A controller that drives a LayrzRefreshIndicator's refresh lifecycle.
LayrzRefreshGestureDetector
The optional, touch-only drag-to-refresh entry point for LayrzRefreshController.
LayrzRefreshIndicator
A loading affordance reporting a LayrzRefreshController's refresh lifecycle floating above a scrollable region of child.
LayrzRefreshVisual
The visual loading affordance painted by LayrzRefreshIndicator.
LayrzResponsiveModal
A responsive chooser that presents its content as a LayrzDialog on wide viewports and a LayrzBottomSheet on narrow ones.
LayrzRobotoFont
A Roboto font implementation using platform-provided Roboto.
LayrzRow
A responsive row layout widget that arranges LayrzCol children in a 12-column grid.
LayrzScaffoldController
Controller for managing the opened item state in LayrzScaffoldShell.
LayrzScaffoldItem<T>
A class representing an item in the Layrz scaffold.
LayrzScaffoldShell<T>
An adaptive list-detail shell widget in the layrz_ui design system.
LayrzScrollbar
A Material-free scrollbar widget built on RawScrollbar.
LayrzScrollBehavior
A ScrollBehavior that installs LayrzScrollbar globally.
LayrzSearchable
Escape hatch that makes custom-painted content findable by LayrzFindInPageHost's Ctrl/Cmd+F search, for content that has no RenderParagraph or RenderEditable of its own — a chart axis label drawn directly via CustomPainter/TextPainter, for instance.
LayrzSearchInput
A Material-free search input in the layrz_ui design system.
LayrzSelectableAction
A text selection action item displayed in the selection toolbar.
LayrzSelectInput<T>
A Material-free, adaptive select input in the layrz_ui design system.
LayrzSelectionHandlePainter
Paints a text selection handle as a teardrop shape (left/right/collapsed cursor indicator).
LayrzSelectionMagnifier
A Material-free text magnifier for touch platform selection.
LayrzSelectionToolbar
A Material-free text selection toolbar displaying action buttons.
LayrzSelectItem<T>
Immutable shared value+presentation item type consumed by select-like input components.
LayrzShadowTokens
Immutable shadow tokens for elevation-based drop shadows in the design system.
LayrzShortcut
App-wide keyboard-shortcut registry.
LayrzShortcutHandle
Opaque token returned by LayrzShortcutState.register and consumed by LayrzShortcutState.deregister.
LayrzShortcutState
The State backing LayrzShortcut.
LayrzSkeleton
A loading placeholder that drives ONE shared shimmer sweep over a caller-composed tree of skeleton shape primitives.
LayrzSkeletonBox
A rectangular skeleton shape primitive — the loading placeholder for a block of content with an explicit, known size, such as an image, a card, or a button.
LayrzSkeletonCircle
A circular skeleton shape primitive — the loading placeholder for a round element such as an avatar or a circular icon button.
LayrzSkeletonLine
A single text-line skeleton shape primitive — the loading placeholder for one line of real text.
LayrzSlider
A Material-free, hand-rolled single-value slider control in the layrz_ui design system.
LayrzSliderBubbleLayoutDelegate
SingleChildLayoutDelegate that pins a LayrzSlider value bubble's horizontal centre to the thumb's current position along the track, without stretching the bubble to the track's full width.
LayrzSliderBubblePainter
Paints the seamless body+tail shape behind a LayrzSliderValueBubble.
LayrzSliderColors
The four colours LayrzSliderPainter needs to paint one frame of the track and thumb, already resolved for the current interaction state.
LayrzSliderPainter
Paints the track, active fill, and thumb glyph of a LayrzSlider-family control.
LayrzSliderTrackArea
The painted track/thumb region of a LayrzSlider, plus its drag-only value bubble.
LayrzSliderValueBubble
A small floating label showing the current value of a LayrzSlider while it is being dragged.
LayrzSliverTreeView<T>
A sliver-form tree view built directly on the SDK's TreeSliver, for composing inside a CustomScrollView — e.g. one of LayrzScaffoldShell's panes.
LayrzSnackbar
An immutable transient feedback payload for the LayrzSnackbarMessenger.
LayrzSnackbarMessenger
Hosts the transient-feedback overlay for LayrzSnackbar toasts.
LayrzSnackbarMessengerState
The State backing LayrzSnackbarMessenger.
LayrzSnackbarStyleSpec
Immutable specification of visual properties for a LayrzSnackbar card in the white-card treatment (DESIGN-60 rework — supersedes the first build's filled/full-color "Turn-2" treatment).
LayrzSnackbarView
Renders a single LayrzSnackbar card in the white-card treatment (DESIGN-60 rework — supersedes the first build's filled/full-color "Turn-2" treatment).
LayrzSpacingTokens
Immutable spacing tokens defining a consistent five-level grid for margins, padding, and sized-box gaps.
LayrzStep
An immutable data class representing a single step in a LayrzStepper.
LayrzStepIndicator
The circular indicator rendered for a single step in a LayrzStepper.
LayrzStepper
A stateful step navigator that owns the step flow's controller and delegates all layout painting to a wide or compact surface.
LayrzStepperController
A controller that drives the step navigation of a LayrzStepper.
LayrzSwitchInput
A Material-free, accessible switch (toggle) input control in the layrz_ui design system.
LayrzTab
An immutable descriptor for a single tab within a LayrzTabView.
LayrzTabView
A Material-free tab strip and content switcher.
LayrzTappable
A Material-free wrapper that applies the standard Layrz hover and press treatment to any child widget.
LayrzTextAreaInput
A Material-free multi-line text input field in the layrz_ui design system.
LayrzTextInput
A Material-free text input field in the layrz_ui design system.
LayrzTextSelectionControls
Material-free text selection controls for layrz_ui.
LayrzTextTheme
Five core text styles for the design system.
LayrzTheme
InheritedTheme that propagates LayrzThemeData down the widget tree.
LayrzThemeData
Immutable design data for the layrz_ui design system.
LayrzThemeExtension<T extends LayrzThemeExtension<T>>
Base class for theme extensions in the layrz_ui design system.
LayrzTimeInput
A Material-free single-time input field.
LayrzTimeline
A vertical spine of dated LayrzTimelineEntry events, rendered either one-sided (every card on one side of the spine) or two-sided (cards alternating, or explicitly placed, on either side).
LayrzTimelineConnector
A single vertical connector segment drawn between two adjacent LayrzTimelineMarkers on a LayrzTimeline's spine.
LayrzTimelineEntry
An immutable, dated event rendered by a LayrzTimeline.
LayrzTimelineMarker
The circular marker rendered on the spine for a single LayrzTimelineEntry.
LayrzTimelineOneSidedSurface
The one-sided LayrzTimeline layout: a single spine on the left, with every entry's marker on that spine and its content card to the right.
LayrzTimelineStyleSpec
Immutable specification of visual properties for a single LayrzTimelineEntry, resolved once per build.
LayrzTimelineTwoSidedSurface
The two-sided LayrzTimeline layout: a single centred spine, with each entry's content card placed on the LayrzTimelineSide.start (left) or LayrzTimelineSide.end (right) side.
LayrzTimeOfDay
An immutable time-of-day value with hour, minute, and second precision.
LayrzTimeRangeInput
A Material-free start/end time-range input field.
LayrzTokenizer
Immutable tokenizer providing semantic access to the layrz_ui design system tokens.
LayrzTokens
Immutable aggregate of all design tokens for the layrz_ui design system.
LayrzTooltip
A Material-free tooltip widget in the layrz_ui design system.
LayrzTreeController
Programmatic control over a LayrzTreeView or LayrzSliverTreeView's expansion state and keyboard-driven active row.
LayrzTreeControllerBinding
The set of live callbacks a LayrzTreeController forwards to.
LayrzTreeIndentGuide
Draws vertical guide lines behind a tree row to visually connect a node to its ancestor chain.
LayrzTreeNode<T>
An immutable data node for use with LayrzTreeView and LayrzSliverTreeView.
LayrzTreeRow<T>
The default row content for LayrzTreeView and LayrzSliverTreeView, used whenever the caller does not supply its own LayrzTreeNodeBuilder.
LayrzTreeRowStyleSpec
Resolved visual values for a single row of LayrzTreeView or LayrzSliverTreeView, derived from LayrzTokens plus the row's own selection/hover state.
LayrzTreeSelectionController<T>
Owns the set of selected node ids for a LayrzTreeView or LayrzSliverTreeView and implements both LayrzTreeSelectionModes.
LayrzTreeView<T>
A self-scrolling, box-form tree view with expand/collapse and optional multi-node selection.
LayrzUiL10n
Abstract contract for all localized strings used throughout layrz_ui.
LayrzUiL10nDefault
Concrete, English-only implementation of LayrzUiL10n.
LayrzUiL10nDelegate
Delegate for loading LayrzUiL10n instances.
LayrzUsernameInput
A login-specialized text input for the credential identifier (username or email).
MatchHighlight
The highlight geometry to paint for one FindMatch: either word-level boxes around each occurrence of the query, or a single whole-node box when word-level geometry could not be resolved.
RenderTextSource
A single piece of painted text discovered by findRenderTextSources, with enough of its own RenderObject exposed to compute word-level highlight geometry without this file needing to know whether the underlying widget was a Text, a RichText, or an EditableText.
StrftimeDirectiveToken
A parsed %-directive, resolved against a DateTime and, for name-producing directives, localized strings at render time.
StrftimeLiteralToken
A run of plain text copied verbatim into the formatted output.
StrftimeToken
One parsed token of a strftime-style format string.
TimedEventPlacement
One LayrzCalendarEntry positioned within its overlap column by assignOverlapColumns.
TransitionedAvatarLayo
The avatar-framed counterpart to TransitionedLayo: a head-and-shoulders portrait avatar (framed exactly like AvatarLayo) whose face crossfades between emotions when driven by a LayoController, and whose fixed per-emotion background and ring colors also transition — smoothly Color.lerp-ing between the outgoing and incoming emotion's own colors over the same crossfade, instead of jumping straight to the target palette the instant the face starts to change.
TransitionedLayo
Wraps Layo and animates transitions between emotions, driven by a LayoController.
WidgetStateBorderSide
Defines a BorderSide whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateColor
Defines a Color that is also a WidgetStateProperty.
WidgetStateMapper<T>
Uses a WidgetStateMap to resolve to a single value of type T based on the current set of Widget states.
WidgetStateMouseCursor
Defines a MouseCursor whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateOutlinedBorder
Defines an OutlinedBorder whose value depends on a set of WidgetStates which represent the interactive state of a component.
WidgetStateProperty<T>
Interface for classes that resolve to a value of type T based on a widget's interactive "state", which is defined as a set of WidgetStates.
WidgetStatePropertyAll<T>
Convenience class for creating a WidgetStateProperty that resolves to the given value for all states.
WidgetStatesController
Manages a set of WidgetStates and notifies listeners of changes.
WidgetStateTextStyle
Defines a TextStyle that is also a WidgetStateProperty.

Enums

LayoAvatarShape
The set of container shapes AvatarLayo can clip itself to.
LayoEmotion
The set of facial expressions Layo (the "MrLayo" brand mascot) can render.
LayrzAiMarkerPosition
Corner position for a LayrzAiMarker overlay relative to its child, used by LayrzAiMarker.wrap.
LayrzAlertStyle
Visual style classification for LayrzAlert.
LayrzAlertType
Semantic type classification for LayrzAlert accent colors and icons.
LayrzAnchoredPanelAlignment
Specifies the alignment of an anchored panel along the cross axis of its resolved side.
LayrzAnchoredPanelWidthPolicy
Specifies how the anchored panel should size its width.
LayrzBadgeAlignment
Corner alignment for a LayrzBadge overlay relative to its child.
LayrzBadgeType
Semantic type classification for LayrzBadge accent colors.
LayrzBreakpoint
Enumeration of responsive breakpoint bands.
LayrzButtonStyle
Enumeration of visual style variants for LayrzButton.
LayrzButtonType
Semantic type classification for LayrzButton accent colors.
LayrzCalendarMode
The granularity a LayrzCalendar renders its grid at.
LayrzChipGroupBehavior
Enumeration of layout behaviors for LayrzChipGroup.
LayrzChipStyle
Enumeration of visual style variants for LayrzChip.
LayrzChipType
Semantic type classification for LayrzChip accent colors.
LayrzDateTimeInputPresentation
How LayrzDateTimeInput arranges its date and time parts.
LayrzDecimalSeparator
Specifies the decimal separator used when parsing and formatting numbers.
LayrzDropdownMenuAlignment
Horizontal alignment of the menu panel relative to its trigger button.
LayrzDurationFormat
The display format for a LayrzDurationInput's summary text.
LayrzDurationUnit
Duration unit types for time-span input.
LayrzFileInputState
The four visually distinct states LayrzFileInput's drop-zone box can be in.
LayrzFoldAxis
The direction of the physical seam resolveFoldSplit detects.
LayrzLayoutPresentation
The two presentation modes for LayrzLayout.
LayrzModalPresentation
The two surfaces LayrzResponsiveModal can present its content on.
LayrzPasswordStrengthLevel
The 0–4 strength bucket LayrzPasswordRequirements.level assigns to a password, by length, once it has already passed every requirement in LayrzPasswordRequirements.isValid.
LayrzPlatform
Runtime platform identifier — Material-free equivalent of ThemedPlatform from layrz_theme.
LayrzPreferredSide
The preferred side on which a floating surface is placed relative to its anchor.
LayrzProgressFormat
The rendering format of a LayrzProgressBar.
LayrzProgressType
Semantic type classification for LayrzProgressBar accent colors.
LayrzRefreshFallbackButtonMode
How LayrzRefreshIndicator's built-in fallback refresh button decides whether to show itself.
LayrzRefreshState
The lifecycle states of a LayrzRefreshController-driven refresh cycle.
LayrzSearchInputMode
Presentation mode for the search input component.
LayrzSnackbarType
Semantic type classification for LayrzSnackbar icon and accent color.
LayrzStepperDirection
The axis LayrzStepper renders along.
LayrzStepperState
Enum representing the state of a single step in a LayrzStepper.
LayrzTimeFormat
The clock convention a LayrzCalendar's week and day surfaces render hour-axis labels and timed-event times in.
LayrzTimelineSide
Which side of the spine a LayrzTimelineEntry renders its content card on, when a LayrzTimeline is laid out in its two-sided form.
LayrzTooltipTrigger
Enumeration of tooltip trigger modes.
LayrzTransitionType
The named set of page transitions this design system ships.
LayrzTreeSelectionMode
How selecting a node in a LayrzTreeView or LayrzSliverTreeView affects its descendants.
StrftimeDirectiveKind
A single supported strftime directive, e.g. %Y or %B.
WidgetState
Interactive states that some of the widgets can take on when receiving input from the user.

Mixins

WidgetStatesConstraint
This mixin allows WidgetState enum values to be combined using the &, |, and ~ operators.

Extensions

LayrzColorExtensions on Color
Extensions on Color for hex serialization, integer conversion, and contrast utilities.
LayrzContextExtensions on BuildContext
Convenience extensions on BuildContext for quick access to the active LayrzThemeData and common derived styles.
LayrzPreferredSideExtension on LayrzPreferredSide
Small geometric helpers on LayrzPreferredSide.

Constants

kAppTitle → const String
Default application title used when no title is provided to LayrzApp.
kDefaultImageInputExtensions → const List<String>
The default image extensions LayrzImageInput accepts, without the leading dot.
kDefaultLayrzSkeletonLineHeight → const double
The default height, in logical pixels, of a LayrzSkeletonLine when neither an explicit height nor a matchTextStyle is supplied.
kDefaultLayrzSkeletonLineRadius → const double
The default corner radius, in logical pixels, applied to a LayrzSkeletonLine.
kFileExtensionMimeTypes → const Map<String, String>
Lookup table from a lowercase file extension (without the leading dot) to its MIME type.
kFindHighlightCornerRadius → const double
The corner radius applied to every match's highlight rectangle, in logical pixels.
kFindHighlightStrokeWidth → const double
The stroke width applied to every match's highlight definition outline, in logical pixels.
kFindInPageQueryDebounce → const Duration
How long LayrzFindInPageController.setQuery waits after the last keystroke before triggering a walk.
kHoverDuration → const Duration
Standard duration for hover / micro-interaction animations.
kIndeterminateDuration → const Duration
Standard duration for a single indeterminate sweep cycle (e.g. a looping progress bar), in milliseconds.
kLayrzAlertFilledIconSize → const double
Icon glyph size inside a LayrzAlert.
kLayrzAlertHoverLift → const double
Vertical lift distance for an interactive LayrzAlert on hover or focus.
kLayrzAlertIconWidgetIconSize → const double
Default glyph size of a standalone LayrzAlertIcon.
kLayrzAlertIconWidgetSize → const double
Default outer size of a standalone LayrzAlertIcon.
kLayrzBadgeCountFontSize → const double
Font size used for the badge's numeric content ("count" / 99+ form).
kLayrzBadgeMaxCount → const int
Maximum count LayrzBadgeVisual renders as a literal number before collapsing to the 99+ overflow form.
kLayrzButtonCompactFontSize → const double
Font size of the LayrzButton label text on compact viewports.
kLayrzButtonCompactHeight → const double
Height of a standard LayrzButton on compact (mobile/small tablet) viewports.
kLayrzButtonCompactIconSize → const double
Size of the icon within a LayrzButton on compact viewports.
kLayrzButtonFontSize → const double
Font size of the LayrzButton label text on regular viewports.
kLayrzButtonHeight → const double
Height of a standard LayrzButton in logical pixels on regular (non-compact) viewports.
kLayrzButtonIconSize → const double
Size of the icon within a LayrzButton in logical pixels on regular viewports.
kLayrzButtonIndicatorHeight → const double
Height of the progress indicator bar in LayrzButton (loading or cooldown state).
kLayrzButtonIndicatorInsetBottom → const double
Bottom inset applied to the progress indicator bar in LayrzButton.
kLayrzButtonMinBusyDuration → const Duration
Minimum duration a busy state (loading or cooldown) remains visible on LayrzButton.
kLayrzButtonMinPressedDuration → const Duration
Minimum duration the pressed visual feedback remains visible on LayrzButton.
kLayrzButtonOutlinedHoveredOpacity → const double
Hovered rung opacity for outlined styles on the fill ladder.
kLayrzButtonTextHoveredOpacity → const double
Hovered rung opacity for LayrzButtonStyle.text styles on the fill ladder.
kLayrzButtonTextPressedOpacity → const double
Pressed rung opacity for LayrzButtonStyle.text styles on the fill ladder.
kLayrzCalendarAllDayRowHeight → const double
The fixed height of one row within AllDayBand, including its bottom margin.
kLayrzCalendarDateRowHeight → const double
The fixed height of the day-of-month number row at the top of a LayrzCalendarDayCell, not including the cell's own outer padding.
kLayrzCalendarEventSlotHeight → const double
The fixed height of one event slot (a chip, a reserved multi-day placeholder, or a bar segment painted by LayrzCalendarMonthSurface), including its bottom margin.
kLayrzCalendarHourAxisWidth → const double
The width of the shared hour-axis label column, in logical pixels.
kLayrzCalendarHourGridEndPadding → const double
The right-edge inset reserved inside the timed hour grid's scroll view, in logical pixels, so the vertical scrollbar LayrzScrollBehavior installs globally on pointer platforms never paints over the rightmost content.
kLayrzCalendarHourRowHeight → const double
The height of one hour row in the timed grid, in logical pixels.
kLayrzCalendarMinEventBlockHeight → const double
The minimum rendered height of a timed event block, in logical pixels.
kLayrzCalendarWeekGutterWidth → const double
The fixed width of a LayrzCalendarWeekGutter column, in logical pixels.
kLayrzCalendarWidestHourLabels → const List<String>
The widest hour-axis label rendered across both LayrzTimeFormat values, used to size the shared hour-axis label column so switching format never reflows or clips it.
kLayrzChipIconSize → const double
Icon glyph size inside a LayrzChip.
kLayrzDropdownDotSize → const double
Diameter of the color dot displayed on a dropdown entry when LayrzDropdownEntry.color is set.
kLayrzDropdownEntryHeight → const double
Height of each dropdown entry item in logical pixels.
kLayrzDropdownIconSize → const double
Size of the icon glyph inside a dropdown entry in logical pixels.
kLayrzDropdownMenuMaxWidth → const double
Maximum width of a dropdown menu panel in logical pixels.
kLayrzDropdownMenuMinWidth → const double
Minimum width of a dropdown menu panel in logical pixels.
kLayrzFindBarQueryFieldMaxWidth → const double
The default (and maximum) width, in logical pixels, of LayrzFindBar's query field.
kLayrzFindBarQueryFieldMinWidth → const double
The minimum width, in logical pixels, LayrzFindBar will ever shrink its query field to — see kLayrzFindBarQueryFieldMaxWidth. Below this the field would no longer be usably readable/tappable, so the bar accepts a small, deliberate overflow on a viewport narrower than this floor plus the counter/buttons/padding rather than shrinking the field further.
kLayrzFindBarSearchingIndicatorHeight → const double
The height, in logical pixels, of the thin indeterminate progress line reserved at the bottom edge of LayrzFindBar.
kLayrzFoldMinSplitHeight → const double
The default minimum shell height, in logical pixels, below which resolveFoldSplit refuses to produce a split even for an otherwise qualifying vertical seam.
kLayrzFoldPreferredListFraction → const double
The target proportion of the shell's width resolveFoldSplit prefers for LayrzFoldSplit.leadingExtent when more than one seam qualifies.
kLayrzLayoutActiveIndicatorHeight → const double
The height of the active indicator bar on selected navigation items, in logical pixels.
kLayrzLayoutActiveIndicatorReservedWidth → const double
The width reserved for the active indicator on selected rail items (leading and trailing reserved space), in logical pixels.
kLayrzLayoutActiveIndicatorWidth → const double
The width of the active indicator bar on selected navigation items, in logical pixels.
kLayrzLayoutBodyMaxWidth → const double
The maximum width of the body content in xl breakpoint band.
kLayrzLayoutCompactIconSize → const double
The size of every icon rendered inside the layout chrome on compact viewports, in logical pixels.
kLayrzLayoutCompactNotificationsRowHeight → const double
The height of the notifications row in the footer on compact viewports, in logical pixels.
kLayrzLayoutCompactTopBarHeight → const double
The height of the top bar in drawer presentation on compact viewports, in logical pixels.
kLayrzLayoutCompactTopBarIconButtonSize → const double
The size of the top bar icon button on compact viewports, in logical pixels.
kLayrzLayoutCompactUserAvatarSize → const double
The size of the user avatar on compact viewports, in logical pixels.
kLayrzLayoutDrawerDragSettleVelocity → const double
The velocity threshold for fling settle in the drawer drag handler, in pixels per second.
kLayrzLayoutDrawerEdgeDragWidth → const double
The width of the edge drag zone when the drawer is closed, in logical pixels.
kLayrzLayoutDrawerOpenScale → const double
The scale factor applied to the page when the drawer is fully open.
kLayrzLayoutDrawerWidth → const double
The width of the off-canvas drawer in drawer presentation, in logical pixels.
kLayrzLayoutIconSize → const double
The size of every icon rendered inside the layout chrome, in logical pixels.
kLayrzLayoutItemHoverBackgroundOpacity → const double
The opacity factor for hovered item background highlight, as a fraction from 0 to 1.
kLayrzLayoutItemLabelSelectedFontWeight → const FontWeight
The font weight of a selected rail item label.
kLayrzLayoutItemLabelUnselectedFontWeight → const FontWeight
The font weight of an unselected rail item label.
kLayrzLayoutItemMarginBottom → const double
The bottom margin of a rail item row, in logical pixels.
kLayrzLayoutItemSelectedBackgroundOpacity → const double
The opacity factor for selected item background highlight, as a fraction from 0 to 1.
kLayrzLayoutNoResultsFontWeight → const FontWeight
The font weight of the "No results" placeholder text.
kLayrzLayoutNotificationsLabelFontWeight → const FontWeight
The font weight of the notifications label text.
kLayrzLayoutNotificationsRowHeight → const double
The height of the notifications row in the footer, in logical pixels.
kLayrzLayoutRailWidth → const double
Layout design token constants for LayrzLayout component.
kLayrzLayoutSectionCaptionFontWeight → const FontWeight
The font weight of a section caption.
kLayrzLayoutTopBarHeight → const double
The height of the top bar in drawer presentation, in logical pixels.
kLayrzLayoutTopBarIconButtonSize → const double
The size of the top bar icon button (width × height) in the top bar, in logical pixels.
kLayrzLayoutTopBarLogoHeight → const double
The height of the logo in the top bar, in logical pixels.
kLayrzLayoutTopBarLogoWidth → const double
The width of the logo in the top bar, in logical pixels.
kLayrzLayoutUserAvatarInitialsFontWeight → const FontWeight
The font weight of the initials text in the user avatar.
kLayrzLayoutUserAvatarSize → const double
The size of the user avatar (width × height) in the user chrome, in logical pixels.
kLayrzLayoutUserNameFontWeight → const FontWeight
The font weight of the user name in the user chrome.
kLayrzPasswordInputDefaultAutofillHints → const List<String>
The default autofill hints applied to LayrzPasswordInput when the caller does not supply an override.
kLayrzProgressBarHeight → const double
Default height, in logical pixels, for LayrzProgressBar in LayrzProgressFormat.linear mode.
kLayrzProgressCircularSize → const double
Default diagonal size, in logical pixels, for LayrzProgressBar in LayrzProgressFormat.circular mode.
kLayrzProgressCircularStrokeWidth → const double
Default stroke thickness, in logical pixels, for the ring painted by LayrzProgressBar in LayrzProgressFormat.circular mode.
kLayrzScaffoldBodyPadding → const double
List panel body padding in logical pixels.
kLayrzScaffoldDetailBodyPadding → const double
Detail pane body padding in logical pixels.
kLayrzScaffoldDetailMaxWidth → const double
Detail pane maximum content width in logical pixels.
kLayrzScaffoldFilterHeight → const double
List panel filter field height in logical pixels.
kLayrzScaffoldFilterHorizontalPadding → const double
List panel filter field horizontal padding in logical pixels.
kLayrzScaffoldFilterIconSize → const double
List panel filter field leading icon size in logical pixels.
kLayrzScaffoldListItemGap → const double
List item gap between title/subtitle and actions in logical pixels.
kLayrzScaffoldListItemHoverBackgroundOpacity → const double
List item hover background opacity (4%).
kLayrzScaffoldListItemRadius → const double
List item border radius in logical pixels.
kLayrzScaffoldListItemSelectedRowBackgroundOpacity → const double
List item selected row background opacity (7%).
kLayrzScaffoldListItemVerticalPadding → const double
List item vertical padding in logical pixels.
kLayrzScaffoldListWidth → const double
List panel width in logical pixels.
kLayrzScrollbarCrossAxisMargin → const double
Cross-axis margin from the edge of the container to the scrollbar thumb.
kLayrzScrollbarMainAxisMargin → const double
Main-axis margin from the top/bottom edges to the scrollbar thumb.
kLayrzScrollbarRadius → const Radius
Radius of the LayrzScrollbar thumb's corners.
kLayrzScrollbarThickness → const double
Thickness of the LayrzScrollbar thumb in logical pixels.
kLayrzSkeletonInputHeight → const double
The standard height of a LayrzInput chrome, in logical pixels, used as the preset for LayrzSkeletonBox.input.
kLayrzSkeletonInputRadius → const double
The standard corner radius of a LayrzInput chrome, in logical pixels, used as the preset for LayrzSkeletonBox.input.
kLayrzSnackbarMaxVisible → const int
The maximum number of toasts shown at once in the accordion stack.
kLayrzSnackbarMaxWidth → const double
The default maximum width of a snackbar card, in logical pixels.
kLayrzStepIndicatorGlyphSize → const double
The size, in logical pixels, of the glyph rendered inside a LayrzStepIndicator.
kLayrzStepIndicatorSize → const double
The diameter, in logical pixels, of a LayrzStepIndicator circle.
kLayrzTimelineConnectorThickness → const double
The thickness, in logical pixels, of a LayrzTimelineConnector line.
kLayrzTimelineMarkerGlyphSize → const double
The size, in logical pixels, of the glyph rendered inside a LayrzTimelineMarker when LayrzTimelineEntry.icon is supplied.
kLayrzTimelineMarkerSize → const double
The diameter, in logical pixels, of a LayrzTimelineMarker circle.
kLayrzTooltipMaxWidthFactor → const double
Fraction of the available viewport width a tooltip may occupy at most.
kLayrzTooltipOffset → const double
Gap in logical pixels between a tooltip and the edge of its anchor.
kLayrzTreeIndentPerLevel → const double
The horizontal space, in logical pixels, occupied by a single depth level's indent guide inside LayrzTreeIndentGuide.
kLayrzUsernameInputDefaultAutofillHints → const List<String>
The default autofill hints applied to LayrzUsernameInput when the caller does not supply an override.
kPageTransitionDuration → const Duration
Standard duration for page transition animations.
kPrimaryColor → const Color
Layrz primary brand color (deep navy blue).
kSwipeDistanceFraction → const double
The fraction of a card's own measured width past which an accumulated horizontal drag distance dismisses the card on release, independent of release velocity — a slow-but-far drag reads as an intentional swipe just as much as a fast flick does.
kSwipeVelocityThreshold → const double
The release-velocity threshold (logical pixels/second) past which a horizontal swipe dismisses its card, a vertical swipe-down expands the deck, or a vertical swipe-up collapses it — shared by LayrzSnackbarMessengerState._handleSwipe and LayrzSnackbarMessengerState._handlePanEnd.

Functions

assignBandLanes({required List<LayrzCalendarEntry> entries, required DateTime rangeStart, required DateTime rangeEnd}) LayrzCalendarLaneAssignments
Packs entries into stable lane indices for the date range rangeStart..rangeEnd inclusive, so overlapping multi-day bars within AllDayBand never collide.
assignLanes({required List<LayrzCalendarEntry> entries, required DateTime monthAnchor}) LayrzCalendarLaneAssignments
Packs entries into stable lane indices for the month containing monthAnchor, so overlapping multi-day bars never collide and a continuous event never changes lane between week rows.
assignOverlapColumns(List<LayrzCalendarEntry> entries) List<TimedEventPlacement>
Packs entries into evenly split overlap columns for one day's timed hour grid.
avatarBackgroundFor(LayoEmotion emotion) Color
Resolves the fixed avatar background color for a given LayoEmotion.
avatarRingFor(LayoEmotion emotion) Color
Resolves the fixed avatar ring color for a given LayoEmotion: a darkened shade of that same emotion's own avatarBackgroundFor, by _kAvatarRingDarkenFactor, so every avatar reads as "background with a deeper-tone-of-the-same-color ring" rather than a ring color that clashes against a differently-hued background.
buildLayrzUiL10nDelegates(Iterable<LocalizationsDelegate>? userDelegates) List<LocalizationsDelegate>
Combines caller-supplied localizations delegates with the default LayrzUiL10nDelegate.
findAllTextOccurrences(String haystack, String needle, {required bool caseSensitive}) List<TextRange>
Finds every non-overlapping occurrence of needle within haystack, returning each as a TextRange expressed in haystack's own (original case) offsets.
findRenderTextSources(RenderObject root) List<RenderTextSource>
Walks the live render tree rooted at root, collecting a RenderTextSource for every RenderParagraph and RenderEditable found, in depth-first traversal order.
formatHourLabel(int hour, LayrzTimeFormat format, LayrzUiL10n l10n) String
Formats hour (0–23) as an hour-axis label under format.
formatLayrzProgressValue(double value, int decimals) String
Formats a determinate progress fraction as a percentage string, biasing away from the two endpoints when rounding would misrepresent them.
formatLayrzShortcut(Set<LogicalKeyboardKey>? keys, {LayrzPlatform? platform}) String
Formats a keyboard shortcut for display, using platform-native key names and glyphs.
formatStrftime(DateTime dateTime, String pattern, LayrzUiL10n l10n) String
Formats dateTime according to pattern, a strftime-style format string using Python datetime directives (%Y, %m, %d, %H, %I, %M, %S, %y, %B, %b, %A, %a, %p, %j, %%) — not intl/Dart DateFormat patterns (yyyy-MM-dd). This mirrors the old layrz_theme pickers' own pattern: '%Y-%m-%d' convention, so consumers migrating from layrz_theme keep their existing format strings unchanged — one of the few places this batch preserves the old API rather than breaking it.
installFindKeyCapture({required VoidCallback onFindPressed}) FindKeyCapture
No-op on non-web targets: there is no browser document to intercept a keydown on, and no native find-in-page dialog to suppress in the first place — Ctrl/Cmd+F on desktop/mobile is handled entirely by the Flutter focus-based LayrzShortcut path (see lib/src/keyboard/), which this file does not touch.
isImageMimeType(String mimeType) bool
Returns whether mimeType identifies an image format (image/*).
isoWeekNumberOf(DateTime date) int
Returns the ISO 8601 week number (1 through 53) for date.
layrzSliderFractionToValue({required double fraction, required double min, required double max}) double
Converts a track fraction in [0.0, 1.0] back to a value within [min, max].
layrzSliderValueToFraction({required double value, required double min, required double max}) double
Converts a slider value within [min, max] to a fraction in [0.0, 1.0].
mimeTypeForExtension(String? extension) String
Resolves the MIME type for a lowercase file extension (without the leading dot), falling back to application/octet-stream when the extension is unrecognized or null.
orderedWeekdayLabels(LayrzUiL10n l10n, int firstDayOfWeek) List<String>
Returns the seven localized weekday display labels from l10n, ordered to start at firstDayOfWeek, via orderedWeekdays.
orderedWeekdays(int firstDayOfWeek) List<int>
Returns the seven DateTime weekday constants (DateTime.monday through DateTime.sunday), rotated so firstDayOfWeek is first.
parseStrftimePattern(String pattern) List<StrftimeToken>
Parses pattern into a flat list of StrftimeTokens.
positionDelegate(LayrzPreferredSide position) TooltipPositionDelegate
Computes the position delegate for RawTooltip based on the desired position.
quantizeLayrzSliderValue({required double value, required double min, required double max, required int? divisions}) double
Quantises value to the nearest one of divisions equally-spaced steps between min and max, then clamps the result back into [min, max].
registerWebFont({required String family, required String url}) Future<void>
No-op on non-web targets: there is no DOM to register a @font-face with.
registerWebFontFromBytes({required String family, required ByteData bytes}) Future<void>
No-op on non-web targets: there is no DOM to register a @font-face with.
resolveFoldSplit({required List<DisplayFeature> features, required Rect shellRect, double minPaneExtent = 120.0, double minSplitHeight = kLayrzFoldMinSplitHeight}) LayrzFoldSplit?
Resolves a foldable device's physical seam into a LayrzFoldSplit for a shell occupying shellRect, or null when nothing usable is present.
resolveLayrzLayoutPresentation({required double width, required LayrzTokens tokens}) LayrzLayoutPresentation
Determines which presentation should be used for a given constraint width.
resolveLayrzModalPresentation({required double width, required LayrzTokens tokens}) LayrzModalPresentation
Determines which modal surface LayrzResponsiveModal.show should use for a given viewport width.
resolveLayrzSliderColors({required LayrzTokens tokens, required Set<WidgetState> states, required bool isDisabled, required bool hasErrors, required bool isDragging, required bool isFocusVisible}) LayrzSliderColors
Resolves the track and thumb colours for a LayrzSlider frame from its current interaction state, following the precedence documented on LayrzCheckboxInput/LayrzSwitchInput: disabled > error > pressed (including an active drag) > hover/focused > default.
resolveRenderTextSource(Rect targetGlobalRect, List<RenderTextSource> sources) RenderTextSource?
Finds the best RenderTextSource in sources to resolve word-level geometry for a semantics match whose whole-node box is targetGlobalRect, or null when nothing in sources plausibly backs that match.
resolveWordHighlights({required FindMatch match, required String query, required List<RenderTextSource> sources, bool caseSensitive = false}) MatchHighlight
Resolves the highlight geometry to paint for match, given the query text that produced it and every text-bearing render object currently in the tree (sources, as returned by findRenderTextSources in render_text_walker.dart).
sameZoneDate(DateTime reference, int year, int month, [int day = 1]) DateTime
Builds a date-only DateTime for year/month/day, in the same zone reference itself is expressed in.
sameZoneDateTime(DateTime reference, int year, int month, int day, [int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0]) DateTime
Builds a full date+time DateTime for the given fields, in the same zone reference itself is expressed in — see sameZoneDate for the subtype preservation rule, the Duration-vs-calendar-field-stepping rule, and why no package:timezone initialization is needed.
timedEventBlock(BuildContext context, {required DateTime date, required TimedEventPlacement placement}) Widget
Renders one timed event block positioned by placement within date's 24-row hour grid.
titleWeightedBodyStyle(LayrzTokens tokens) TextStyle
Composes LayrzTokens.typography's body size with title's emphasis for the month grid's structural text (the weekday header row and each day-of-month number).
walkSemantics(SemanticsNode root, String query, {bool caseSensitive = false, bool includeHidden = true, Set<int> excludeSubtreeRootIds = const {}}) List<FindMatch>
Walks the semantics tree rooted at root, collecting every node whose text contains query as a substring, and returns them as FindMatches ordered in reading order (top-to-bottom, then left-to-right).

Typedefs

Colors = LayrzColors
Colors is an alias for LayrzColors, provided for compatibility with Flutter's Material Colors class. It allows developers to use the same familiar Colors name while working with the layrz_ui design system, without introducing a dependency on the Material package.
LayrzAnchoredPanelBuilder = Widget Function(BuildContext context, MenuController controller)
Signature for building an anchored panel's anchor/trigger widget.
LayrzDropdownMenuBuilder = Widget Function(BuildContext context, MenuController controller)
Signature for building a LayrzDropdownMenu's trigger widget.
LayrzTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child)
The signature shared by PageRouteBuilder's transitionsBuilder and go_router's CustomTransitionPage.transitionsBuilder.
LayrzTreeNodeBuilder<T> = Widget Function(BuildContext context, LayrzTreeNode<T> node, int depth, bool isExpanded, bool isLeaf, bool isSelected, bool isPartiallySelected, VoidCallback? onToggle, VoidCallback? onSelect)
Signature for a function that builds the Widget representing a single row of a LayrzTreeView or LayrzSliverTreeView.
WidgetPropertyResolver<T> = T Function(Set<WidgetState> states)
Signature for the function that returns a value of type T based on a given set of states.
WidgetStateMap<T> = Map<WidgetStatesConstraint, T>
A Map used to resolve to a single value of type T based on the current set of Widget states.