vyuh_feature_system library

The system feature package for Vyuh framework, providing essential content types, actions, conditions, and services for building CMS-driven Flutter applications.

This package includes:

  • Content Types: Routes, Cards, Groups, Portable Text, etc.
  • Actions: Navigation, UI control, system operations
  • Conditions: Feature flags, screen size, platform, theme mode
  • Services: Breakpoint detection, theme management

Classes

Accordion
AccordionDescriptor
AccordionItem
ActionCase
A case item that pairs a condition value with its corresponding action.
ApiConfiguration<T>
APIContent
APIContentDescriptor
BlockItemDescriptor
Descriptor for configuring block types that can be used within portable text.
BooleanCondition
A simple boolean condition configuration with optional evaluation delay.
BreakpointConfiguration
Configuration for screen size breakpoints used in responsive design.
BreakpointService
Service for managing screen size breakpoints and responsive design.
Card
A card content item that can display various types of content in a card format.
CardConditionalLayout
A conditional layout for cards that adapts based on specified conditions.
CardDescriptor
Descriptor for configuring card content type in the system.
CaseItem<T extends SchemaItem>
A case item that pairs a condition value with its corresponding content.
CaseRouteItem
Conditional
A content item that conditionally renders different content based on a condition.
ConditionalAction
An action configuration that executes different actions based on a condition.
ConditionalDescriptor
Descriptor for configuring conditional content type in the system.
ConditionalLayout<T extends ContentItem>
ConditionalRoute
ConditionalRouteDescriptor
ContentImage
A widget for displaying images from various sources with advanced features.
ContentItemsScrollView
DefaultAccordionLayout
DefaultAccordionView
DefaultCardLayout
DefaultConditionalLayout
Default layout for conditional content.
DefaultConditionalRouteLayout
DefaultDividerLayout
Default layout for divider content.
DefaultDocumentViewLayout
DefaultEmptyLayout
Default layout for empty content that renders nothing.
DefaultPageRouteLayout
DefaultPortableTextContentLayout
Default layout for portable text content.
DefaultRouteLayout
DialogPage<T>
DialogRouteType
DisplayFieldMap
Maps JSON fields to card display fields using JSON Path expressions.
Divider
A content item that renders a horizontal dividing line.
DividerDescriptor
Descriptor for configuring divider content type in the system.
DocumentItemConfiguration<TDocument extends DocumentItem>
DocumentListView
DocumentListViewBuilder
DocumentListViewDescriptor
DocumentSectionView
DocumentSectionViewDescriptor
DocumentView
DocumentViewBuilder
DocumentViewBuilderState
DocumentViewConditionalLayout
DocumentViewDescriptor
DrawerAction
Empty
A content item that renders nothing, taking up no space in the layout.
EmptyDescriptor
Descriptor for configuring empty content type in the system.
FeatureFlagCondition
A condition configuration that evaluates feature flags for dynamic behavior.
GridGroupLayout
Group
A group content item that can contain and organize multiple content items.
GroupConditionalLayout
A conditional layout for groups that adapts based on specified conditions.
GroupDescriptor
Descriptor for configuring group content type in the system.
HideSnackBarAction
InvokeActionMarkDef
JsonPathApiConfiguration
Configuration for fetching and transforming API data using JSON Path.
LayoutCaseItem
LinkedRoute
ListGroupLayout
ListItemCardLayout
ModalDialogPage<T>
An action configuration for handling navigation within the application.
OpenInDialogAction
OpenUrlAction
An action configuration for opening URLs in various ways.
PageRouteType
PortableTextContent
A content item that renders rich text content using the Portable Text format.
PortableTextDescriptor
Descriptor for configuring portable text content type in the system.
PressEffect
QueryConfiguration
Region
A section of a route that can contain content items.
RestartApplicationAction
Route
A route represents a page or screen in the application with configurable regions and lifecycle handlers.
RouteConditionalLayout
A conditional layout for routes that adapts based on specified conditions.
RouteDescriptor
Descriptor for configuring route content type in the system.
RouteRefreshAction
RouteScaffold
A Scaffold that uses a CustomScrollView to display the content of a vf.Route. Use this when creating custom layouts for the Route content.
ShowSnackBarAction
SingleItemLayout
TabsRouteLayout
ThemeService
Service for managing application themes and theme switching.
ToggleThemeAction
UnknownConditionalLayout<T extends ContentItem>
WebView

Enums

Breakpoint
Represents different screen size breakpoints for responsive design.
DialogBehavior
DocumentLoadStrategy
DrawerActionType
FlagDataType
The data type of a feature flag value.
KnownRegionType
LinkType
The type of destination to navigate to.
The type of navigation operation to perform.
PageBehavior
UrlLaunchMode
The mode to use when launching a URL.

Extension Types

JSONPath
A strongly-typed wrapper around JSON Path expressions.

Extensions

RegionItems on Route

Constants

empty → const SizedBox
A reusable empty widget that takes up no space. Used as a default fallback when no content should be rendered.

Properties

descriptor → ContentExtensionDescriptor
final
feature → FeatureDescriptor
final