prf_design library

PRF Design System - Shared widgets, theme system, and essential utilities.

Classes

AnimatedStatCard
DateFormatter
Date and time formatting utilities with timezone support.
Debouncer
A utility class for debouncing function calls.
DeviceHelper
Device-related utilities.
ImagePreviewPage
A full-screen image preview page with pan and zoom support.
NumberFormatter
Number formatting utilities for currency, decimals, and file sizes.
PDFViewerPage
PRFActionCard
PRFAppBar
PRFBottomSheet
PRFBrandedNavBar
PRFButtonTokens
Shared button design tokens for sizing and density.
PRFCarouselItem
A media item for the carousel.
PRFCategoryChips<T>
A generic, reusable category chip selector widget.
PRFChatView<T>
PRFCircularProgressIndicator
PRFColorPalette
Brand color palette variations with tints and shades.
PRFColors
Core color constants for the PRF brand identity.
PRFColorsExtension
ThemeExtension providing access to PRF brand colors.
PRFConfirmationDialog
PRFDestroyButton
PRFDetailActionCard
PRFDomainTabSection
PRFElevationTokens
Elevation design tokens for consistent shadow depth.
PRFEmailInput
PRFEmptyView
PRFErrorView
A widget that displays an error state with an optional retry action.
PRFFormFieldLabel
PRFFormSection
PRFGoogleAuthButton
PRFInfoCard
PRFLinearProgressIndicator
PRFMediaCarousel
Full-screen media carousel with swipe navigation, zoom, and action buttons.
PRFMediaGrid
A masonry (Pinterest-style) grid for displaying media tiles.
PRFMediaTile
A single media tile for use inside a media grid.
PRFMessageBubble
PRFMotionTokens
Motion tokens keep interaction timing and easing consistent across widgets.
PRFNameInput
PRFNavBar
PRFNavigationTile
PRFNumberInput
PRFPasswordInput
PRFPhoneInput
PRFPrimaryButton
PRFRadiusTokens
Border radius design tokens for consistent corner rounding.
PRFReplyComposer
PRFSearchableList<T>
PRFSearchableListEntry<T>
PRFSecondaryButton
PRFSectionHeader
PRFShadowTokens
Shadow design tokens for consistent elevation and depth.
PRFSnackbar
Unified snackbar helper with typed variants (error, success, info, warning).
PRFSpacingTokens
Spacing design tokens for consistent layout gaps and padding.
PRFStatusBadge
PRFStatusExtension
ThemeExtension providing semantic status colors.
PRFStatusTokens
Centralized semantic status colors used by theme extensions.
PRFTextAreaInput
PRFTextInput
PRFTextTheme
PRFTheme
PRFTimelineDateBadge
A timeline date badge with an optional connector line.
ReplyStatusView
A widget for selecting reply status (read/unread).
StatHighlightCard
StatusColorSet
Represents a complete status color set with main, background & text colors.
StringFormatter
String formatting utilities.
WrappedPageIndicator

Enums

DeviceType
Device type enumeration
PRFErrorSeverity
Severity levels for errors.
PRFErrorType
Types of errors that can occur in the application.
PRFSnackbarType
Snackbar category type for visual styling.

Extensions

PRFThemeContextExtensions on BuildContext
Convenience extensions on BuildContext for easy theme access.

Exceptions / Errors

PRFFailure
Enhanced Failure class for comprehensive error handling.