flutter_ui_collection library

Classes

AnimatedBuilder
Animated wrapper that rebuilds when the animation ticks.
AnimatedUiTheme
Animates transitions between UiThemeData values.
AuroraTheme
Aurora design preset -- gradient-heavy, flowing, ethereal.
CyberpunkTheme
Cyberpunk design preset — aggressive, angular, high-energy.
GlassTheme
Glassmorphism design preset — frosted, translucent, elegant.
MinimalTheme
Minimal design preset — clean, spacious, typography-focused.
NeonTheme
Neon design preset — bold, glowing, dark-first.
PastelTheme
Pastel/Soft design preset -- gentle, warm, approachable.
RetroTheme
Retro/Pixel design preset -- nostalgic, 8-bit inspired, blocky.
TerminalTheme
Terminal/Hacker design preset -- monochrome green-on-black, raw.
A link entry for UiAboutScreen.
UiAboutScreen
An about/app info screen showing the app identity, version, description, and links.
UiAccordion
A themed expandable accordion / collapsible sections.
UiAccordionSection
A single accordion section.
UiActionSheet
An iOS-style bottom action sheet.
UiActionSheetItem
Describes a single action in a UiActionSheet.
UiActivityFeed
A themed activity/event feed for dashboards.
UiActivityItem
A single entry in a UiActivityFeed.
UiAlert
A themed inline alert banner.
UiApp
The root widget for apps using flutter_ui_collection.
UiAppBar
A themed top navigation bar.
UiAsyncBuilder<T>
A themed async data builder that handles loading, error, and data states.
UiAuthController
A ChangeNotifier that manages authentication state and delegates operations to user-provided async callbacks.
UiAuthResult
The result of an authentication operation.
UiAutoComplete<T>
A themed auto-complete input with a filterable suggestion overlay.
UiAvatar
A circular avatar component.
UiAvatarGroup
Displays a row of overlapping avatar widgets with an overflow indicator.
UiBadge
A small status indicator or label.
UiBarChart
A themed vertical bar chart rendered entirely via CustomPaint.
UiBarChartData
Data point for UiBarChart.
UiBottomNav
A themed bottom navigation bar.
UiBottomNavItem
A single bottom navigation item.
UiBottomSheet
A themed bottom sheet that slides up from the bottom.
UiBreadcrumb
Breadcrumb navigation showing a trail of tappable links.
UiBreadcrumbItem
A single item in a UiBreadcrumb.
UiBreakpoints
Standard breakpoint thresholds.
UiButton
A themeable button that adapts to the active UiThemeData.
UiButtonGroup
A themed group of connected toggle buttons.
UiCalendar
A themed monthly calendar widget.
UiCard
A themed container surface.
UiCarousel
A themed horizontal carousel / page slider with dot indicators.
UiCartBadge
A shopping cart icon with an animated item count badge.
UiCartController
A reactive shopping cart controller that manages cart state.
UiCartItem
Represents a product with a quantity in the shopping cart.
UiCartItemTile
A cart item row showing product thumbnail, name, quantity controls, price, and a remove button.
UiCartScreen
A full cart screen built around a UiCartController.
UiCartSummary
A cart summary widget showing subtotal, shipping, tax, and total, with a checkout button.
UiChatBubble
A chat message bubble with optional avatar and timestamp.
UiChatController
A ChangeNotifier that manages chat state for a single conversation.
UiChatDateSeparator
A date divider shown between messages from different days.
UiChatEmpty
Empty state widget for a chat view.
UiChatHeader
WhatsApp-style chat header bar with avatar, name, status, and action icons.
UiChatInputBar
A themed chat input bar with optional attachment button and reply preview.
UiChatList
A scrollable list of chat conversation tiles.
UiChatListTile
A single conversation row for the chat list.
UiChatMediaMessage
Renders an image or video message bubble with optional caption.
UiChatMessage
A single chat message.
UiChatMessageWidget
Renders a single chat message as a themed bubble.
UiChatReplyPreview
A compact quoted-message preview with a left accent border.
UiChatRoom
A chat room or conversation.
UiChatRoomView
A complete chat room widget that assembles all chat sub-components.
UiChatSearch
In-chat search bar with result navigation.
UiChatUser
A chat user.
UiCheckbox
A themed checkbox.
UiCheckoutFlow
A 3-step checkout flow: Address, Payment, Review.
UiChip
A compact element for tags, filters, or selections.
UiClipboardButton
A button that copies text to the clipboard and shows confirmation.
UiCodeBlock
A themed code block with monospace font and copy button.
UiCollapsible
A themed collapsible / expandable section.
UiColorPicker
A grid of color swatches for selecting a color.
UiColorScheme
Defines the color palette for a UiThemeData.
UiCommand
A single command entry for UiCommandPalette.
UiCommandPalette
A themed command palette (Cmd+K style).
UiComment
A comment on a post.
UiCommentThread
Displays a nested comment thread with avatar, text, timestamps, like buttons, and reply affordance.
UiComponentTokens
Shared geometry and interaction values for core UI components.
UiConfirmDialog
A one-liner themed confirmation dialog.
UiContextMenu
A themed right-click / long-press context menu.
UiContextMenuItem
A single item in UiContextMenu.
UiCountUp
Animated number counter that counts up (or down) to a target value.
UiDashboardLayout
A responsive dashboard grid layout.
UiDashboardTile
A single tile in UiDashboardLayout.
UiDataColumn
Column definition for UiDataTable.
UiDataTable
A sortable data table with themed styling.
UiDatePicker
A themed date picker that opens an inline calendar popup.
UiDescriptionItem
A single term/description pair for UiDescriptionList.
UiDescriptionList
Displays a list of key-value pairs.
UiDialog
A themed modal dialog.
UiDivider
A themed horizontal divider.
UiDrawer
A themed drawer overlay that slides in from the side.
UiDropdown<T>
A themed dropdown menu.
UiEmptyState
A themed empty state placeholder.
UiExpandableText
A text widget that truncates after maxLines and shows a "Read more" / "Show less" toggle.
UiFabAction
A speed-dial action for UiFloatingActionButton.
UiFloatingActionButton
A themed floating action button with optional speed dial.
UiForgotPasswordScreen
A themed forgot-password screen.
UiForm
A form that manages validation state for child UiFormField widgets.
UiFormField
A form-aware text field with validation.
UiFormFieldState
UiFormState
UiFormStep
A single step in a multi-step form.
UiGallery
A themed image gallery grid that opens images in a fullscreen viewer.
UiGauge
A semi-circular gauge rendered via CustomPaint.
UiGlowContainer
A container with an animated glow border effect.
UiGradientText
Text rendered with a gradient fill.
UiGridItem
Defines a single item within a UiResponsiveGrid.
UiGroupInfo
Group info view showing avatar, name, description, and members list.
UiGroupMember
A group member with admin status.
UiHeatmap
A grid heatmap (GitHub contribution-style) built from UiHeatmapCells.
UiHeatmapCell
A single cell in a UiHeatmap.
UiHero
A themed hero widget for shared-element transitions between routes.
UiHoverCard
A themed card that appears on hover after a delay.
UiIcon
A themed icon wrapper.
UiIconButton
A themed icon-only button with hover and glow support.
UiIcons
Built-in icon set using Unicode/Material icon codes.
UiIconSet
An application-wide icon replacement and rendering policy.
UiImageViewer
A themed image widget that opens a fullscreen zoomable dialog on tap.
UiInfiniteList<T>
A themed infinite-scroll list with automatic pagination.
UiInteractiveRegion
Adds consistent focus, keyboard activation, cursor and semantics behavior to custom controls without depending on Material or Cupertino widgets.
UiKbd
Displays a keyboard shortcut as styled key caps.
UiKpiData
KPI definition for UiKpiRow.
UiKpiRow
A responsive row of KPI stat cards for dashboard headers.
UiLineChart
A themed line chart rendered via CustomPaint.
UiLineChartData
Data series for UiLineChart.
UiListTile
A themed list tile for lists and menus.
UiLoadingOverlay
A full-screen loading overlay with themed spinner.
UiLoginArgs
Arguments passed to the login callback.
UiLoginScreen
A complete, themed login screen.
UiMarquee
Continuously scrolling content in a horizontal marquee.
UiMasonryGrid
A Pinterest-style staggered masonry grid layout.
UiMentionText
Renders text with tappable @mentions and #hashtags highlighted.
UiMessageMenu
Long-press message overlay menu with themed action rows.
UiMessageReactions
Displays emoji reaction pills below a message bubble.
UiMessageStatusIcon
Displays an icon representing the delivery status of a chat message.
UiMetricCard
A rich metric card for dashboards with value, change indicator, and optional chart area.
UiMultiStepForm
A themed multi-step form wizard.
UiMultiStepFormState
UiNotificationDot
Wraps a child (typically an icon) with a notification badge dot or count.
UiNumberInput
A numeric stepper input with increment and decrement buttons.
UiOnboarding
An intro/walkthrough onboarding widget with paged content, dot indicators, and skip/next/done navigation.
UiOnboardingPage
Data class for a single onboarding page.
UiOrderStatusTracker
A horizontal stepper that tracks order progress through stages.
UiOtpScreen
A themed OTP verification screen.
UiPageRoute<T>
A themed page route with built-in transition animations.
UiPagination
A themed pagination control with page numbers and navigation arrows.
UiPieChart
A themed pie/donut chart rendered via CustomPaint.
UiPieChartData
Data segment for UiPieChart.
UiPinInput
A themed PIN/OTP code input.
UiPopoverItem
A single popover menu item.
UiPopoverMenu
A themed popover/context menu that appears relative to a trigger widget.
UiPost
A social media post.
UiPostCard
A social media post card inspired by Instagram, Twitter/X, and Facebook.
UiPriceDisplay
Displays a product price with optional original price strikethrough and discount percentage badge.
UiProduct
Represents a product in the catalog.
UiProductBadge
A pill-shaped product badge with a label and themed color.
UiProductCard
A themed product card for catalog display.
UiProductDetail
A full product detail page.
UiProductGrid
A responsive grid of UiProductCard widgets.
UiProgressBar
A themed progress bar with animated value transitions.
UiProgressCircle
A themed circular progress indicator with optional label.
UiProgressItem
A single item in a UiProgressList.
UiProgressList
A list of labeled progress bars.
UiPullToRefresh
A themed pull-to-refresh wrapper.
UiPulse
Wraps a child with a pulsing glow/scale animation.
UiRadio<T>
A themed radio button.
UiRating
A themed star rating widget.
UiReaction
A single emoji reaction with count and ownership state.
UiRegisterArgs
Arguments passed to the register callback.
UiRegisterScreen
A complete, themed registration screen.
UiReorderableList<T>
A themed drag-to-reorder list built without Material.
UiResetPasswordArgs
Arguments passed to the reset-password callback.
UiResizablePanel
A themed split view with a draggable divider.
UiResponsive
Responsive utilities for adapting layouts to screen size.
UiResponsiveBody
A simple responsive body that switches layouts based on screen size.
UiResponsiveGrid
A responsive column-based grid layout.
UiScaffold
A themed scaffold that provides standard app layout structure.
UiScreenInfo
Contains information about the current screen and provides responsive value selection helpers.
UiScrollIndicator
A thin progress bar that fills as the user scrolls.
UiSearchBar
A themed search bar with clear button and search icon.
UiSegmentedControl
An iOS-style segmented control with an animated sliding highlight.
UiSettingsNavigation
A settings tile with a chevron arrow for navigation.
UiSettingsOption<T>
Represents a selectable option for UiSettingsSelect.
UiSettingsScreen
A complete settings page template with a scrollable list of sections.
UiSettingsSection
A grouped section of settings with an optional header title.
UiSettingsSelect<T>
A settings tile that shows the current selection and expands to reveal options when tapped.
UiSettingsSlider
A settings tile with a slider control.
UiSettingsTile
Base settings tile with leading icon, title, subtitle, and trailing widget.
UiSettingsToggle
A settings tile with a toggle switch on the right.
UiShimmerText
Text with a sweeping shimmer/shine animation.
UiShopLayout
A complete shop page layout with search, category chips, product grid, and a cart badge.
UiSidebar
A themed vertical sidebar navigation.
UiSidebarItem
A single sidebar navigation item.
UiSignaturePad
A drawing pad for capturing signatures.
UiSkeleton
A themed loading placeholder with shimmer animation.
UiSlider
A themed slider for selecting a value from a range.
UiSnackbar
A themed snackbar with optional action button.
UiSnackbarAction
An action button displayed in the snackbar.
UiSocialActionBar
A row of social action buttons: like, comment, share, and bookmark.
UiSocialButton
A themed social login button that shows a provider icon and label.
UiSocialLoginArgs
Arguments passed to the social login callback.
UiSocialUser
A social media user.
UiSpacing
Spacing tokens for consistent layout across all components.
UiSparkline
A tiny inline sparkline chart rendered via CustomPaint.
UiSpeedDial
An expandable floating action button that fans out labeled mini-buttons.
UiSpeedDialAction
A single action in the UiSpeedDial fan-out menu.
UiStagger
Animates a list of children with staggered entrance animations.
UiStat
A themed statistic display widget.
UiStatCard
An enhanced stat card for dashboards with optional sparkline background.
UiStatusPage
A full-page status display with an icon, title, description, and optional action widget.
UiStep
A single step definition.
UiStepper
A themed stepper / wizard component.
UiStory
A story entry for the story row.
UiStoryRow
A horizontally scrollable row of story circles, inspired by Instagram's story tray.
UiSwipeAction
A list item wrapper that reveals action buttons on horizontal swipe.
UiSwipeActionData
An action revealed by swiping a list item.
UiTab
A single tab definition.
UiTabBar
A themed tab bar with animated indicator.
UiTable
A themed data table.
UiTableColumn
Column definition for UiTable.
UiTagInput
A chip-based tag input with a text field for adding new tags.
UiTextField
A themed text input field with full input support.
UiTheme
Provides a UiThemeData to all descendant widgets.
UiThemeData
The visual configuration for all UI components.
UiThemeMode
Automatically switches between a dark and light UiThemeData based on the platform brightness setting.
UiThemePreview
Represents a theme option for UiThemeSelector.
UiThemeSelector
A grid of theme previews allowing users to pick a UI theme.
UiTimeline
A themed vertical timeline.
UiTimelineItem
A single timeline entry.
UiTimeOfDay
A simple time-of-day representation without Material dependency.
UiTimePicker
A themed time picker that opens a popup with hour and minute columns.
UiToast
Manages toast overlay entries.
UiToggle
A themed toggle switch.
UiTooltip
A themed tooltip that shows on hover/long press.
UiTreeNode
A node in the tree hierarchy.
UiTreeView
A themed hierarchical tree view.
UiTypewriter
Typewriter text animation that reveals text character by character.
UiTypewriterState
UiTypingIndicator
Animated "typing..." indicator with three bouncing dots.
UiTypography
Typography system for UI components.
UiUserProfileHeader
A social media profile header with cover image area, overlapping avatar, user info, stats row, and action buttons.
UiValidators
Built-in validators for common patterns.
UiVerifyOtpArgs
Arguments passed to the OTP verification callback.
UiVoiceMessage
Renders a voice message bubble with play/pause, waveform, and duration.
UiWatermark
Tiles a watermark text diagonally across its child.
UiWishlistButton
An animated heart toggle for wishlisting products.

Enums

UiActivityType
Activity type for visual differentiation.
UiAlertType
Alert severity determines color and icon.
UiAuthState
The current state of an authentication operation.
UiAvatarSize
Avatar size presets.
UiAvatarStatus
Status indicator for UiAvatar.
UiBadgeSize
Badge size presets.
UiBadgeType
Badge type determines the semantic color.
UiButtonSize
Button size presets.
UiButtonVariant
Button variant determines the visual style.
UiChatBubbleStatus
Delivery status of a chat message.
UiDescriptionListDirection
Layout direction for description list items.
UiDrawerSide
Which side the drawer slides in from.
UiHeroFlightStyle
Flight animation styles for UiHero.
UiIconButtonVariant
Visual variant for the icon button.
UiMarqueeDirection
Scroll direction for the marquee.
UiMessageAction
Actions available in the message context menu.
UiMessageStatus
Delivery status of a chat message.
UiMessageType
Message types supported by the chat module.
UiOrderStatus
Status stages for an order.
UiPostType
Post content type.
UiProductBadgePosition
The position of a UiProductBadge when used as an overlay.
UiProductBadgeType
Built-in badge types with default labels and colors.
UiScreenSize
The current device size category.
UiScrollIndicatorPosition
Position of the scroll indicator bar.
UiSkeletonShape
Shape variants for skeleton placeholders.
UiSocialProvider
Supported social login providers.
UiStaggerDirection
Direction from which stagger items enter.
UiStatCardTrend
Trend direction for UiStatCard.
UiStatTrend
Trend direction for UiStat.
UiStatusType
The type of status to display.
UiStepState
State of a stepper step.
UiToastPosition
Toast position on the screen.
UiToastSeverity
Toast severity determines the color.
UiTooltipPosition
Position of the tooltip relative to the child.
UiTransitionStyle
Themed page transition styles.

Extensions

UiThemeContext on BuildContext
Convenience extension to access the UiThemeData directly from context.

Typedefs

UiAuthCallback<T> = Future<UiAuthResult> Function(T args)
Signature for async auth callbacks.
UiValidator = String? Function(String value)
Signature for field validators.