exports/widgets library
Widgets exports for prf_design
Classes
- PRFActionCard
- Tappable card with an image and title, adaptive to device size.
- PRFAppBar
-
Non-sliver variant of PRFNavBar for use as a standard
AppBar. - PRFBottomSheet
- Rounded modal bottom sheet with a handle, title, close button and body.
- Branded app bar with a filled primary background and large title.
- PRFBrandPanel
- The navy "Living Root" side panel used on tablet split screens.
- PRFButton
- Adaptive button with a single implementation across device sizes.
- PRFCarouselItem
- A media item for the carousel.
-
PRFCategoryChips<
T> - A generic, reusable category chip selector widget.
-
PRFChatView<
T> - Full chat screen scaffold with navbar, message list and composer.
- PRFCircularProgressIndicator
- Themed circular progress spinner, centred in its parent.
- PRFConfirmationDialog
- Confirmation dialog with icon header and confirm/cancel actions.
- PRFDetailActionCard
- Tappable detail card with title, subtitle and optional slots.
- PRFDomainTabSection
- A titled tab section that fills the remaining vertical space.
- PRFEmptyView
- Empty-state screen with a centred icon, message and optional action.
- PRFErrorView
- A widget that displays an error state with an optional retry action.
- PRFFormFieldLabel
- Label for a form field, with an optional required marker.
- PRFFormSection
- Groups a form field with an icon, title and optional subtitle.
- PRFInfoCard
- Read-only label/value card with a tinted icon tile.
- PRFLinearProgressIndicator
- Themed linear progress bar, centred in its parent.
- 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
- Chat message bubble with timestamp and optional delivery status.
- Adaptive top navigation bar with back button, title and actions.
- Tappable card with an SVG illustration and a chevron affordance.
- PRFPanelSectionLabel
- Uppercase micro-heading used inside PRFBrandPanel sections.
- PRFPdfViewer
- Full-screen PDF viewer.
- PRFPhoneInput
-
Phone number input backed by
phone_form_field. - PRFReplyComposer
- Fixed message-composing bar with a send button.
- PRFRootMotifPainter
- "The Living Root" brand motif: organic growth arcs rising across a dark surface, tipped with lime nodes.
- PRFSchoolCard
- School list tile with icon, name, address, mission count and chevron.
-
PRFSearchableList<
T> - Searchable picker list with single- and multi-select modes.
-
PRFSearchableListEntry<
T> - A selectable search result with a stable value and searchable label.
- PRFSectionHeader
- Bold section heading with an optional subtitle line.
- PRFSnackbar
- Unified snackbar helper with typed variants (error, success, info, warning).
- PRFStatusBadge
- Small rounded pill showing a status label on a solid background.
- PRFTabletHeaderRow
- Tablet screen header: back navigation, an ellipsizing title that absorbs long localizations, an optional inline loading spinner slot, and trailing actions.
- PRFTabletSplitScaffold
- Standard tablet split scaffold: centered max-width stage with a main content column and a side panel column separated by a hairline divider.
- PRFTextField
- Single adaptive text input implementation for every PRF input variant.
- PRFTimelineDateBadge
- A timeline date badge with an optional connector line.
- PRFTimelineMissionCard
- A model-agnostic mission timeline card.
- ReplyStatusView
- A widget for selecting reply status (read/unread).
- WrappedPageIndicator
- Animated pill-style page indicator (dots turn into a wide bar when active).
Enums
- PRFButtonVariant
- Button variants available on PRFButton.
- PRFTextFieldType
- Input variants supported by PRFTextField.