nice2dev_flutter_ui library
NiceToDev Flutter UI — Enterprise-grade widgets for ERP applications.
import 'package:nice2dev_flutter_ui/nice2dev_flutter_ui.dart';
Classes
- JsonSchemaParser
- Parser for JSON Schema draft-07.
- JsonSchemaProperty
- JSON Schema property definition parsed from schema.
- NiceAccessibilitySettings
- Detects accessibility settings from the platform.
- NiceAccessible
- Wraps a widget with proper semantics for screen readers.
- NiceAccessibleAnimation
- Adapts animations based on accessibility settings.
- NiceAccessibleDataCell
- Accessible cell for data grids.
- NiceAccessibleDataGrid
- Makes a data grid accessible with proper semantics.
- NiceAccessibleDataRow
- Accessible row for data grids.
- NiceAccessibleDuration
- Duration that respects reduced motion preference.
- NiceAccessibleFormField
- Wraps a form field with proper accessibility semantics.
- NiceAccordion
- Collapsible accordion sections.
- NiceAccordionItem
- NiceActionSheetItem
- An action in a bottom sheet.
- NiceActivityEntry
- Activity feed entry.
- NiceActivityFeed
- Activity feed with timeline display.
- NiceAddress
- An address model.
- NiceAddressInput
- A structured address input with fields for street, city, postal, country.
- NiceAddRowIntent
- NiceAdminActivity
- Activity entry.
- NiceAdminAuditLog
- Audit log viewer with filtering and search.
- NiceAdminDashboard
- Admin dashboard overview with KPI cards and activity feed.
- NiceAdminKpi
- KPI card data.
- NiceAdminNotification
- Admin notification.
- NiceAdminNotifications
- Admin notification management panel.
- NiceAdminRole
- Role definition.
- NiceAdminRoles
- Role management with permission matrix grid.
- NiceAdminSettings
- Settings panel with grouped sections.
- NiceAdminSystemStatus
- System status overview.
- NiceAdminUser
- User info for admin panel.
- NiceAdminUsers
- User management panel with list, search, and actions.
- NiceAlert
- Alert banner / notification bar.
- NiceAllocation
- An allocation assigned to a resource.
- NiceAmountBreakdown
- Stacked bar showing amount breakdown by category.
- NiceAmountItem
- An item in amount breakdown.
- NiceAnimatedSwitcher
- Pre-configured AnimatedSwitcher with common transition patterns.
- NiceAnimatedVisibility
- An animated visibility wrapper with configurable enter/exit animations.
- NiceAnimationCurves
- Standard curves for consistent animation feel.
- NiceAnimationDurations
- Standard durations for consistent animation timing.
- NiceAnnouncer
- Announces a message to screen readers.
- NiceApiContract
- A typed API contract describing all endpoints for a module.
- NiceApiEndpoint
- Standard API endpoint description (for documentation/contract).
- NiceAppLayout
- App shell layout with sidebar, header, and content area.
- NiceApprovalStep
- An approval step.
- NiceAttractionPicker
- Attraction selection grid with category filters.
- NiceAttractionVoting
- Anonymous voting on attractions with rankings.
- NiceAuditEntry
- Audit log entry.
- NiceAuditLog
- An audit log viewer with filtering and timeline display.
- NiceAuthGuard
- Guard that conditionally renders children based on auth/permissions.
-
NiceAutoComplete<
T extends Object> - Autocomplete with debounced async suggestions.
- NiceAvatar
- User avatar with initials fallback and online indicator.
- NiceAvatarGroup
- Stacked avatar group with overflow count.
- NiceBadge
- Notification badge overlay.
- NiceBarcodeGenerator
- A barcode generator using CustomPainter.
- NiceBarGauge
- Concentric arc rings showing multiple values.
- NiceBarGaugeItem
- A bar gauge item (for multi-ring gauge).
- NiceBenchmarkedWidget
- A widget wrapper that measures and reports build time. Only active in debug/profile mode.
- NiceBenchmarkResult
- Result of a single benchmark run.
- NiceBenchmarkRunner
- Runs widget benchmarks and collects timing data.
- NiceBenchmarkSummary
- Aggregated results from multiple benchmark runs.
- NiceBlockUI
- Blocks all user interaction with an overlay.
- Mobile bottom navigation bar.
- NiceBox
- NiceBreadcrumb
- A breadcrumb trail navigation widget.
- NiceBreadcrumbItem
- NiceBulletChart
- A bullet chart showing actual value vs target with qualitative ranges.
- NiceBulletRange
- A qualitative range for bullet chart background.
- NiceBusinessCard
- A business entity card for displaying company/person/contact info.
- NiceButton
- Styled button with multiple variants.
- NiceButtonGroup
- Grouped buttons in a row.
- NiceCalendar
- Standalone inline calendar with month navigation.
- NiceCaptcha
- Pluggable captcha widget shell.
- NiceCard
- Styled card container with header/footer.
-
NiceCardView<
T> - A responsive card view supporting grid and list layouts.
- NiceCarousel
- Image/content carousel with indicators.
-
NiceCascadeOption<
T> - A node in a cascade selection tree.
-
NiceCascadeSelect<
T> - A multi-level cascading selector (e.g., Country > Region > City).
- NiceChangePassword
- Change password form with current/new/confirm fields.
- NiceChart
- A full-featured chart supporting line, bar, and area series.
- NiceChartAnnotation
- Annotation line or label overlaid on a chart.
- NiceChartSeries
- A single data series for NiceChart.
- NiceChat
- A chat widget with message list and input.
- NiceChatMessage
- Chat message.
- NiceCheckbox
- Styled checkbox with label support.
- NiceCircularGauge
- Circular arc gauge with value needle and colored ranges.
- NiceCloseIntent
- NiceCodeDiffEditor
- Side-by-side code diff viewer.
- NiceCodeEditor
- Full-featured code editor with multi-file tabs, search/replace.
- NiceCodeFile
- File tab in the code editor.
- NiceCodeGenerator
- Generates Dart or TypeScript type definitions from entity schemas.
- NiceColorPalette
- Color palette generator with harmony modes and presets.
- NiceColorPicker
- HSV color picker with hex input.
- NiceColorScheme
- Standardized color scheme for NiceToDev widgets.
- NiceColumnChooser
- A column visibility chooser — typically attached to data grids.
- NiceColumnDef
- Column definition for the chooser.
-
NiceComboColumn<
T> - Column definition for multi-column combo box.
- NiceComment
- Comment data model.
- NiceComments
- Threaded comment section with reply, like, and nested display.
- NiceComponentCatalog
- Static registry of all known components in the library. Used for static analysis without running the app.
- NiceComponentInfo
- Represents a component/class in the library.
- NiceComponentMapping
- A mapping entry between React and Flutter component types.
- NiceComponentMappingTable
- Registry of all React ↔ Flutter component mappings.
- NiceConfirmPanel
- NiceConsentItem
- Item in the consent panel.
- NiceConsentPanel
- GDPR consent panel with category tracking, grant/revoke per item.
- NiceConsole
- IDE-like console with tabs, command palette (Ctrl+Shift+P), status bar.
- NiceConsoleCommand
- A command in the palette.
- NiceConsoleStatusItem
- Status bar item.
- NiceConsoleTab
- A tab in the console.
- NiceContextMenu
- Right-click / long-press context menu.
- NiceContextMenuItem
- NiceControlConfigurator
- Live property configurator with preview panel.
- NiceCookieCategory
- A cookie category with toggle.
- NiceCookieConsent
- GDPR-compliant cookie consent banner with category toggles.
- NiceCurrencyInput
- A currency input with symbol and formatting.
- NiceDashboardDesigner
- Visual dashboard designer with draggable widgets on a grid.
- NiceDashboardLayout
- A dashboard layout with configurable panels in a grid.
- NiceDashboardPanel
- A dashboard panel definition.
- NiceDashboardWidget
- A widget definition placed on the dashboard.
- NiceDataEntity
- Target entity for import/export.
-
NiceDataGrid<
T> - Enterprise-grade data grid widget.
- NiceDatePicker
- Styled date picker with text field trigger.
- NiceDateRangeBox
- A date range picker with start/end date fields.
- NiceDateTimePicker
- A combined date and time picker.
- NiceDeleteRowIntent
- NiceDesktop
- Full OS-like desktop with taskbar, start menu, icons, and system tray.
- NiceDesktopIcon
- Desktop icon descriptor.
- NiceDiagram
- Interactive node-edge diagram with drag, zoom, and grid.
- NiceDiagramEdge
- An edge (connection) between two nodes.
- NiceDiagramNode
- A node in the diagram.
- NiceDivider
- A styled visual divider/separator.
- NiceDock
- macOS-style dock with proximity magnification.
- NiceDockItem
- An item in the dock.
- NiceDocumentApprovalFlow
- A document approval workflow visualization.
- NiceDocumentVersion
- A document version entry.
- NiceDocumentVersionList
- Document version history list with status badges and actions.
- NiceDocumentViewer
- Multi-format document viewer with toolbar.
-
NiceDraggable<
T> - A sortable list with drag handles.
- NiceDrillDownChart
- Interactive drill-down chart with breadcrumb navigation.
- NiceDrillDownItem
- Node in the drill-down data tree.
-
NiceDropDownBox<
T> - Generic dropdown container with custom content.
- NiceDropDownButton
- Button with dropdown menu.
- NiceDropDownItem
- NiceEditRowIntent
- NiceEmpty
- Empty state placeholder.
- NiceEntitySchema
- Entity schema for code generation.
- NiceErrorHandler
- Catches errors in child widget tree and shows fallback UI.
- NiceEscapeIntent
- NiceEventAttraction
- Event attraction.
- NiceEventCard
- Compact event card for lists/grids.
- NiceEventChat
- Simple chat panel for events/discussions.
- NiceEventData
- Event data model.
- NiceEventMedia
- Media gallery with upload, photos, and collages.
- NiceEventMediaItem
- Event media item.
- NiceEventParticipants
- Participant list with RSVP status and actions.
- NiceEventPlanning
- Event planning / creation form.
- NiceEventRound
- Event round.
- NiceExport
- A data export utility widget with format selection and download trigger.
- NiceFeatureFlag
- Feature flag definition.
- NiceFeatureFlagManager
- Manages feature flags for the current tenant/user.
- NiceFeatureFlags
- Feature flag manager panel.
- NiceFileItem
- A file/folder item.
- NiceFileManager
- A file manager with list/grid views and folder navigation.
- NiceFileUpload
- File upload / drop zone.
- NiceFilterBuilder
- A visual query/filter builder with add/remove conditions and groups.
- NiceFilterCondition
- A single filter condition.
- NiceFilterField
- Available field definition for the filter builder.
- NiceFilterGroup
- A filter group combining conditions.
- NiceFindNextIntent
- NiceFindPreviousIntent
- NiceFirstRowIntent
- NiceFocusManager
- Manages focus for accessibility.
- NiceFocusRestorer
- Restores focus to original element when widget is disposed.
- NiceFocusTrap
- A focus trap that keeps focus within a container (for modals/dialogs).
- NiceForm
- Builder-based form widget with validation.
- NiceFormBuilder
- A dynamic form rendered from a list of field definitions (JSON-driven).
-
NiceFormField<
T> - Single field in a NiceForm with name, validator, and typed value.
- NiceFormFieldDef
- A field definition used by NiceFormBuilder.
- NiceFormRow
- A row of form fields (rendered horizontally).
- NiceFormState
- NiceFunnel
- Funnel chart showing conversion stages.
- NiceFunnelStage
- A single funnel stage.
- NiceGallery
- An image gallery grid with lightbox preview.
- NiceGalleryItem
- An image gallery item.
- NiceGantt
- Gantt chart with left task table and right timeline area.
- NiceGanttColumn
- Column definition for the Gantt table panel.
- NiceGanttTask
- A Gantt chart task.
- NiceGaugeRange
- A colored range segment for gauges.
- NiceGradientPicker
- Gradient editor with type, angle, and color stops.
- NiceGradientStop
- A color stop in the gradient.
- NiceGradientValue
- Gradient definition.
-
NiceGridColumn<
T> - Column definition for NiceDataGrid.
- NiceGridSort
- Sort descriptor.
- NiceHeatMap
- Grid-based heat map with color interpolation.
- NiceHeatMapCell
- A single heat map cell.
- NiceHelpIntent
- NiceHtmlEditor
- A WYSIWYG-style rich text editor with formatting toolbar.
- NiceHttpResponse
- Simple HTTP response wrapper.
- NiceHttpTransport
- HTTP transport interface — abstract to avoid dart:io dependency. Implement this with your preferred HTTP client (http, dio, etc.)
- NiceI18n
- Localization delegate for NiceToDev widgets.
- NiceIconButton
- Icon-only button.
- NiceIcons
- NiceToDev icon set — placeholder for custom icons.
- NiceImageViewer
- An image viewer with click-to-enlarge lightbox, zoom, and rotate.
- NiceImportExport
- Data import/export panel with format selection and job tracking.
- NiceImportExportJob
- Import/export job.
- NiceInbox
- An inbox message list with read/unread, starring, priority indicators.
- NiceInboxMessage
- A message item.
- NiceInMemoryCacheStorage
- In-memory implementation of NiceViewCacheStorage for development/testing.
- NiceInPlaceEditor
- An inline text label that becomes editable on click/double-click.
- NiceIntent
- Base class for all Nice shortcut intents.
- NiceJsonSchemaForm
- A form widget that renders a form from a JSON Schema.
- NiceJsonSchemaValidator
- Validates data against a JSON Schema.
-
NiceKanbanBoard<
T> - Kanban drag-and-drop board.
-
NiceKanbanColumn<
T> - NiceKaraokePicker
- Karaoke song picker with queue management.
- NiceKaraokeSong
- Karaoke song entry.
- NiceKeyboardListener
- A widget that listens for specific keyboard events.
- NiceKnob
- A circular rotary knob for value selection.
- NiceLastRowIntent
- NiceLeaderboard
- A ranked leaderboard display.
- NiceLeaderboardEntry
- An entry in the leaderboard.
- NiceLinearGauge
- Horizontal or vertical linear gauge with ranges and tick marks.
-
NiceList<
T> - Virtualized scrollable list with lazy loading support.
- NiceLiveRegion
- A live region that announces changes to screen readers.
- NiceLoadPanel
- A loading overlay panel shown over content.
- NiceLoginForm
- Login form with email/password, remember me, forgot password, and OAuth.
-
NiceLookup<
T> - Datasource-driven lookup field with search.
-
NiceLookupColumn<
T> - NiceManagedWindow
- Window state for the manager.
- NiceMapRegion
- Region data for the map.
- NiceMaskedInput
- Input with pattern mask (e.g. phone number, ID number).
- NiceMegaMenu
- A top-level mega menu with multi-column dropdown panels.
- NiceMegaMenuEntry
- A mega menu entry (top-level tab).
- NiceMegaMenuItem
- A mega menu item.
- NiceMegaMenuSection
- A mega menu section.
- NiceMention
- A text input with @mention user suggestions.
- NiceMentionItem
- Mention suggestion item.
- NiceMentionUser
- A mention suggestion.
- NiceMenu
- Vertical navigation menu with collapsible groups.
- NiceMenuItem
- Menu item model.
- NiceModuleInfo
- Descriptor for a single ERP module.
- NiceModuleLoader
- Manages lazy loading, initialization, delta updates, and rollback of ERP modules.
- NiceModuleManifest
- The top-level module manifest listing all available modules.
-
NiceMultiColumnComboBox<
T> - A combo box whose dropdown shows multiple data columns.
- NiceMultiView
- Tab-based multi-view container.
- Application top navbar with logo, actions, and user area.
- NiceNewDocumentIntent
- NiceNotification
- A notification item.
- NiceNotificationCenter
- A notification center panel with grouped items.
- NiceNumberInput
- Numeric input with increment/decrement controls.
- NiceOAuthButtons
- OAuth provider login button group.
- NiceOpenIntent
- NiceOrganizationChart
- An organization chart with hierarchical nodes connected by lines.
- NiceOrgNode
- A node in the organization chart.
-
NicePageRoute<
T> - A page route with customizable enter/exit transitions.
- NicePagination
- Pagination controls.
- NiceParticipant
- Participant info.
- NicePasswordInput
- Password input with toggle visibility and strength indicator.
- NicePasswordRule
- NicePasswordStrength
- Password strength indicator bar.
- NicePerformanceOverlay
- A debug overlay showing real-time performance metrics.
- NicePermission
- A permission matrix entry.
- NicePermissionAction
- Permission action.
- NicePermissionMatrix
- A matrix grid for editing permissions (roles × actions).
- NicePermissionResource
- Permission resource.
- NicePhoneInput
- A phone number input with country code prefix selector.
-
NicePickList<
T> - A dual-list pick widget: available items on left, selected on right.
- NicePieChart
- Pie and donut chart with automatic color allocation and legend.
- NicePieSlice
- A single pie/donut slice.
- NicePinCodeInput
- A pin code / OTP entry field with individual digit boxes.
- NicePivotField
- Configuration for a pivot grid field.
- NicePivotGrid
- A pivot table that groups and aggregates flat data.
- NicePivotGridFieldChooser
- Field chooser for pivot grid - drag fields between areas.
- NicePlanningTimeline
- Interactive horizontal timeline with zoom levels and groups.
- NicePolarChart
- A polar/radar chart with multiple series overlaid on radial axes.
- NicePolarSeries
- A polar/radar chart data series.
- NicePopover
- A popover panel attached to a trigger widget.
- NicePrintIntent
- NicePrintPreview
- Print preview dialog content with page navigation.
- NiceProgress
- Progress bar with label.
- NicePropDescriptor
- Descriptor for a configurable property.
- NicePulse
- A pulsing attention animation wrapper.
- NiceQRCode
-
A QR code generator using CustomPainter.
Renders a simplified QR-like pattern. For production, use a proper
QR library like
qr_flutter. -
NiceRadioGroup<
T> - A styled radio button group.
-
NiceRadioItem<
T> - A single radio item.
- NiceRangeSelector
- A range selector that lets users zoom into a sub-range of data.
- NiceRangeSlider
- Dual-thumb range slider.
- NiceRating
- Star / icon rating input.
- NiceRatings
- Star rating widget (display & interactive).
- NiceRbacService
- RBAC authorization service — checks permissions for the current user.
- NiceRealtimeChart
- Live-updating chart that polls data at regular intervals.
- NiceRealtimePoint
- Data point for realtime chart.
- NiceRealtimeSeries
- Series definition for realtime chart.
- NiceRefreshIntent
- NiceRegistrationForm
- Registration form with name, email, password, confirm, and terms.
- NiceReportBuilder
- Visual report builder with drag-to-reorder sections.
- NiceReportDefinition
- Report definition.
- NiceReportSection
- A section in the report definition.
- NiceResizable
- A container that can be resized by dragging its edges.
- NiceResource
- A resource in the allocation grid.
- NiceResourceAllocation
- Resource allocation grid showing resources vs time.
- NiceResponsiveBox
- A responsive container that renders different widgets based on screen width.
- NiceRole
- An RBAC role with associated permissions.
- NiceRound
- Round in a tournament.
- NiceRoundCard
- Individual round card with actions, timer, and scoreboard.
- NiceRoundList
- Tournament bracket / round list display.
- NiceRoundMatch
- Match in a round.
- NiceRoundScore
- Round score entry.
- NiceSankeyDiagram
- A Sankey flow diagram showing proportional flows between nodes.
- NiceSankeyLink
- A link/flow in the Sankey diagram.
- NiceSankeyNode
- A node in the Sankey diagram.
- NiceSaveAsIntent
- NiceSaveIntent
- NiceScheduler
- Full-featured calendar scheduler with day/week/month views.
- NiceSchedulerEvent
- A scheduler event.
- NiceSchedulerResource
- A scheduler resource (lane).
- NiceSchemaField
- Field definition for code generation.
- NiceScrollView
- A scroll view with a floating scroll-to-top button.
- NiceSearchIntent
-
NiceSelect<
T> - Styled dropdown select widget.
-
NiceSelectItem<
T> - Item model for NiceSelect.
- NiceSelectiveImportGenerator
- Generates optimized import statements based on usage.
- NiceSemanticDebugger
- Debug helper to visualize the semantic tree.
- NiceSemanticLabels
- Predefined semantic labels for common ERP UI elements. Supports localization through callbacks.
- NiceServiceStatus
- NiceSettingsItem
- Individual setting.
- NiceSettingsSection
- Settings section.
- NiceShake
- A shake animation for error feedback.
- NiceShimmer
- A shimmer loading placeholder animation.
- NiceShortcutInfo
- Describes a keyboard shortcut for display purposes.
- NiceShortcutManager
- Manages and provides information about registered shortcuts.
- NiceShortcuts
- Common ERP keyboard shortcuts.
- NiceShortcutScope
- A widget that provides keyboard shortcut handling for a subtree.
- NiceShortcutsDialog
- NiceShowcase
- Self-contained component showcase / demo application.
- NiceShowcaseTab
- A showcase tab definition.
- NiceShowShortcutsIntent
- NiceSignature
- Digital signature pad.
- NiceSignatureDisplay
- Signature / freehand drawing pad.
- NiceSignatureState
- NiceSimpleCodeEditor
- Lightweight code editor with line numbers and syntax-aware monospace.
- NiceSkeleton
- Skeleton loading placeholder.
- NiceSkeletonLoader
- A skeleton loading placeholder for text/cards.
- NiceSkipLink
- A skip link for jumping to main content.
- NiceSkipTarget
- Container for skip link targets.
- NiceSlider
- Simple single-thumb slider.
- NiceSocialPanel
- A panel with like, share, and bookmark actions.
- NiceSocialStats
- Social action stats.
- NiceSocialUserState
- Current user's state for social actions.
- NiceSongEntry
- Song entry for music events.
- NiceSongPicker
- Song selection for music events.
-
NiceSortable<
T> - Drag-to-reorder sortable list.
-
NiceSortableItem<
T> - Item in a sortable list.
- NiceSparkline
- Compact inline chart for dashboards and tables.
- NiceSpeedDial
- A floating action button with expanding action buttons.
- NiceSpeedDialAction
- A speed dial action.
- NiceSpinner
- Loading spinner with optional label.
- NiceSplitter
- A resizable split panel (horizontal or vertical).
- NiceSpreadsheet
- An Excel-like spreadsheet widget with cell editing, tabs, and basic formatting.
- NiceSpreadsheetCell
- Cell data for spreadsheet.
- NiceSpreadsheetCellStyle
- Cell style.
- NiceSpreadsheetSheet
- A sheet (tab) in the spreadsheet.
- NiceStaggeredList
- Animates a list of children with staggered delays.
- NiceStartMenuItem
- Start menu item.
- NiceStatusBadge
- A colored status indicator badge.
- NiceStepper
- A step indicator with optional content panels.
- NiceStepperStep
- Step definition for NiceStepper.
- NiceStockChart
- A financial stock chart with candlestick/OHLC rendering.
- NiceStockDataPoint
- A single OHLC data point.
- NiceSubmitIntent
- NiceSystemTrayItem
- System tray item.
- NiceTabEntry
- A tab entry for the tab panel.
- NiceTabItem
- NiceTable
- Simple styled table (non-sortable, for static display).
- NiceTableColumn
- NiceTabPanel
- A rich tab panel with closable tabs, dirty indicators, and overflow menu.
- NiceTabs
- Tab strip with content panels.
- NiceTag
- A tag / chip label.
-
NiceTagBox<
T> - A multi-select input using chips (tags).
- NiceTagCloud
- Tag cloud where tag sizes are based on weight.
- NiceTagItem
- Tag item with weight for cloud display.
- NiceTaskbarItem
- Taskbar item.
- NiceTenant
- A tenant entry.
- NiceTenantSwitcher
- Multi-tenant switcher dropdown.
- NiceTextArea
- Multi-line text field with character counter.
- NiceTextInput
- Standardized text input widget.
- NiceTheme
- InheritedWidget providing NiceToDev theme to descendants.
- NiceThemeData
- Central theme configuration for NiceToDev widgets.
- NiceThemeDesigner
- Visual theme editor with color pickers, spacing, typography controls.
-
NiceTileView<
T> - A configurable tile/card layout view with multiple layout modes.
- NiceTimeline
- Vertical timeline.
- NiceTimelineEvent
- A timeline event.
- NiceTimelineGroup
- A group (swimlane) in the timeline.
- NiceTimelineItem
- NiceTimelineMarker
- A marker on the timeline (e.g., "today").
- NiceTimePicker
- A time picker field with dialog selection.
- NiceToggle
- Styled toggle switch with label.
- NiceToggleFullScreenIntent
- NiceToggleSidebarIntent
- NiceTokenInfo
- Token/API key definition.
- NiceTokenManagement
- Token management panel — list, create, revoke API keys.
- NiceToolbar
- Horizontal toolbar with icon buttons.
- NiceToolbarItem
- Toolbar item definition.
- NiceTooltip
- An enhanced tooltip with rich content support.
-
NiceTreeGrid<
T> - Hierarchical data grid combining NiceTreeView and NiceDataGrid.
-
NiceTreeGridColumn<
T> - Column definition for the tree grid.
-
NiceTreeGridNode<
T> - A node in the tree grid.
-
NiceTreeList<
T> - A tree with data columns — hybrid between tree view and data grid.
-
NiceTreeListColumn<
T> - A column definition for the tree list.
-
NiceTreeListNode<
T> - A tree node for the tree list.
- NiceTreeMap
- Treemap visualization showing hierarchical data as nested rectangles.
- NiceTreeMapNode
- A node in a tree map.
-
NiceTreeNode<
T> - Node model for NiceTreeView.
-
NiceTreeSelect<
T> - A hierarchical tree-based select with checkboxes for multi-select.
-
NiceTreeSelectNode<
T> - A tree node for tree select.
- NiceTreeShakingAnalyzer
- Analyzes component usage and generates tree shaking recommendations.
- NiceTreeShakingResult
- Result of a tree shaking analysis.
-
NiceTreeView<
T> - Hierarchical tree view widget.
- NiceTutorial
- Step-by-step tutorial overlay that highlights page elements.
- NiceTutorialStep
- A step in the tutorial walkthrough.
- NiceTwoFaSetup
- Two-factor authentication setup wizard with QR code, verification, and recovery codes.
- NiceTypography
- Typography scale for NiceToDev widgets.
- NiceUploadedFile
- NiceUsageTracker
- Tracks which components are actually used at runtime. Call track() when a component is instantiated.
- NiceUserInfo
- User info for listing.
- NiceUserList
- User list / directory with search and selection.
- NiceUserMenu
- A user menu dropdown with avatar and profile items.
- NiceUserMenuItem
- User menu item.
- NiceValidationGroup
- Validation group that manages multiple validators.
- NiceValidationGroupController
- Controller for managing form validation state.
- NiceValidationResult
- Result of validating a field.
- NiceValidationSummary
- A summary panel showing all validation errors.
- NiceValidator
- Individual field validator — registers with parent NiceValidationGroup.
- NiceValidators
- Common validation rules.
- NiceVatInput
- VAT number input with country prefix and basic format validation.
- NiceVectorMap
- Simple vector map / bubble map widget.
- NiceViewBuilder
- A visual builder UI for assembling view definitions.
- NiceViewCache
- Cache for view definitions with TTL and ETag support.
- NiceViewCacheStorage
- Storage backend interface for view cache. Implement this to plug in Hive, SharedPreferences, etc.
- NiceViewChange
- A single change between two versions of a view definition.
- NiceViewComponent
- A component definition within a view layout.
- NiceViewDataBinding
- Data binding specification — how a component connects to data.
- NiceViewDefinition
- A complete view definition (serializable to/from JSON).
- NiceViewDiff
- Result of diffing two view definitions.
- NiceViewHost
- A widget that loads a view definition from NiceViewService, renders it with NiceViewRegistry, and auto-refreshes on hot-swap.
- NiceViewItem
- NiceViewLoadResult
- Result of loading a view, including metadata.
- NiceViewRegistry
- A registry for mapping NiceViewComponentType (or custom string keys) to builder functions. Allows dynamic registration of new component types without modifying the core enum.
- NiceViewRenderer
- A runtime renderer that renders a view definition into actual widgets.
- NiceViewSchema
- Cross-platform JSON View Schema — the root schema format shared identically between React and Flutter.
- NiceViewSchemaComponent
- Cross-platform component schema — defines a component in the JSON View Schema format shared by React and Flutter.
- NiceViewService
- Service for loading, caching, and hot-swapping ERP view definitions.
- NiceViewServiceConfig
- Configuration for the view service.
- NiceViewValidation
- Validation rule for a component field.
- NiceViewVersioning
- Utility for computing diffs between view definition versions and migrating definitions.
-
NiceVirtualScroller<
T> - A virtualized list that only renders visible items.
- NiceWidgetAnalyzer
- Records widget tree statistics for analysis.
- NiceWiki
- A wiki module with page tree sidebar and content viewer/editor.
- NiceWikiPage
- Wiki page node.
- NiceWindow
- A draggable floating window with title bar.
- NiceWindowManager
- Manages multiple floating windows with a taskbar.
- NiceWizard
- Step-by-step wizard.
- NiceWizardStep
- NiceWorkflowDesigner
- Visual workflow designer built on node-edge paradigm.
- NiceWorkflowNode
- A node in the workflow.
- NiceZoomInIntent
- NiceZoomOutIntent
- NiceZoomResetIntent
Enums
- NiceAdminSeverity
- NiceAlertSeverity
- NiceAllocationPriority
- Priority level for allocations.
- NiceAllocationStatus
- Status of an allocation.
- NiceApprovalStatus
- NiceAttractionCategory
- Attraction category.
- NiceAuditType
- Type of audit entry.
- NiceBadgePosition
- NiceBarcodeType
- Barcode type.
- NiceBoxVariant
- Styled container with theme-aware spacing, padding, border, and background.
- NiceBreakpoint
- Screen size breakpoint category.
- NiceBusinessType
- A business entity type.
- NiceButtonSize
- NiceButtonVariant
- NiceCaptchaProvider
- Captcha provider type.
- NiceCardLayout
- NiceChartType
- Type of chart series rendering.
- NiceCodeGenLanguage
- Supported output languages for the code generator.
- NiceColorHarmony
- Color harmony mode.
- NiceColorPreset
- Preset palette style.
- NiceConfiguratorLayout
- NiceConfirmVariant
- Inline confirmation UI with icon and action buttons.
- NiceConsentStatus
- Status of a consent item.
- NiceConsentVariant
- NiceConsoleTheme
- NiceCookieCategoryType
- Category of cookies.
- NiceCookieConsentPosition
- Position of the consent banner.
- NiceDashboardWidgetType
- Widget type for dashboard designer.
- NiceDataFormat
- Supported data format.
- NiceDesktopIconType
- NiceDiagramEdgeType
- Edge connector type.
- NiceDiagramNodeShape
- Node shape types.
- NiceDockPosition
- Position for the dock.
- NiceDocumentType
- Document type for the viewer.
- NiceDocVersionStatus
- NiceDrawerPosition
- NiceDrillDownChartType
- Chart type for drill-down.
- NiceEnterAnimation
- Enter animation types.
- NiceEventStatus
- NiceExitAnimation
- Exit animation types.
- NiceExportFormat
- Export format.
- NiceFileViewMode
- View mode for file manager.
- NiceFilterFieldType
- Field type for filter fields.
- NiceFilterLogic
- Logic combiner for filter groups.
- NiceFilterOperator
- Operator type for a filter condition.
- NiceFormFieldType
- Definition of a single form field for the runtime builder.
- NiceGanttScale
- Time scale for Gantt charts.
- NiceGaugeStyle
- Scale for Gantt / timeline charts.
- NiceGradientType
- Gradient type.
- NiceHtmlEditorCommand
- Available toolbar commands.
- NiceJobStatus
- NiceKaraokeDifficulty
- Karaoke song difficulty.
- NiceMatchStatus
- NiceMediaLayout
- Media gallery layout.
- NiceMediaType
- Media item type.
- NiceMessagePriority
- NiceModuleStatus
- Status of a module within the system.
- NiceNotificationStatus
- NicePageTransition
- Available page transition types.
- NicePasswordLevel
- Password strength level.
- NicePivotAggregation
- NicePivotArea
- NicePopoverPosition
- Position for popover arrow placement.
- NicePropType
- NiceQRErrorCorrection
- QR code error correction level.
- NiceRbacAction
- An action that can be performed on a resource.
- NiceReportOrientation
- Page orientation.
- NiceReportPageSize
- Page size options.
- NiceReportSectionType
- Section type in a report.
- NiceResourceViewMode
- View mode for the resource allocation grid.
- NiceRoundStatus
- Round status.
- NiceRsvpStatus
- NiceSchedulerView
- Scheduler view modes.
- NiceSettingsType
- Settings item types.
- NiceSocialDirection
- Layout direction for social panel.
- NiceSocialSize
- Size variant for social panel.
- NiceSortableDirection
- Layout direction for sortable.
- NiceSparklineType
- Type of sparkline rendering.
- NiceStatusPosition
- NiceStatusType
- Semantic status type.
- NiceStockStyle
- Chart display style.
- NiceSwitchTransition
- NiceTabPosition
- NiceTagSize
- NiceTileLayout
- Layout mode for tiles.
- NiceTimelineEventType
- Type of timeline event.
- NiceTimelineZoomLevel
- Zoom level for the timeline.
- NiceToastSeverity
- Toast severity level.
- NiceToolbarItemType
- NiceTutorialPosition
- NiceTwoFaStep
- Step in 2FA setup.
- NiceValidationSummaryPosition
- NiceViewChangeType
- Type of change in a view diff.
- NiceViewComponentType
- Type of component that can be placed in a view.
- NiceViewLayout
- NiceVotingSortBy
- Attraction voting sort order.
- NiceWorkflowNodeType
- Workflow node type.
- TabBarPosition
Mixins
-
NiceShortcutMixin<
T extends StatefulWidget> - Mixin for handling keyboard shortcuts in a StatefulWidget.
Extensions
- NiceAccessibilityExtension on Widget
- Extension methods for adding accessibility to widgets.
- NiceI18nContext on BuildContext
- Extension for convenient access in widgets.
Properties
-
niceDefaultShortcuts
→ Map<
ShortcutActivator, Intent> -
Default shortcut bindings mapping keys to intents.
no setter
Functions
-
buildTreeFromFlat<
T> ({required List< T> data, required String keyOf(T), required String? parentKeyOf(T)}) → List<NiceTreeGridNode< T> > - Builds a tree from flat data with parent references.
-
calculatePasswordStrength(
String password) → NicePasswordLevel - Calculate password strength.
-
contrastRatio(
Color a, Color b) → double - Calculate WCAG contrast ratio between two colors.
-
generateHarmony(
Color base, NiceColorHarmony mode, {int count = 5}) → List< Color> - Generate harmony colors from a base hue.
-
niceBreakpointOf(
BuildContext context) → NiceBreakpoint - Helper to get the current breakpoint from context.
-
randomPalette(
int count, {NiceColorPreset? preset}) → List< Color> - Generate random palette.
-
showNiceActionSheet(
BuildContext context, {String? title, required List< NiceActionSheetItem> actions, String? cancelLabel}) → Future<void> - Shows a bottom action sheet.
-
showNiceBottomSheet<
T> ({required BuildContext context, required WidgetBuilder builder, String? title, bool showHandle = true, List< double> snapPoints = const [0.5, 0.9], int initialSnap = 0, bool expandable = true, bool dismissible = true}) → Future<T?> - Shows a draggable bottom sheet with snap points.
-
showNiceDialog(
BuildContext context, {required String title, required String message, String confirmLabel = 'OK', String cancelLabel = 'Cancel', bool destructive = false}) → Future< bool> - Show a NiceToDev-styled confirmation dialog.
-
showNiceDrawer<
T> ({required BuildContext context, required Widget child, String? title, double width = 360, NiceDrawerPosition position = NiceDrawerPosition.right}) → Future< T?> - Side drawer panel.
-
showNiceModal<
T> ({required BuildContext context, required String title, required Widget body, List< Widget> ? actions, bool dismissible = true, double maxWidth = 520, IconData? icon}) → Future<T?> - Generic modal dialog with header, body, and footer actions.
-
showNiceShortcutsDialog(
BuildContext context) → Future< void> - Shows a dialog with all registered keyboard shortcuts.
-
showNiceToast(
BuildContext context, {required String message, NiceToastSeverity severity = NiceToastSeverity.info, Duration duration = const Duration(seconds: 3), String? actionLabel, VoidCallback? onAction}) → void - Show a NiceToDev-styled toast notification.
-
wcagLevel(
Color fg, Color bg) → String - Returns 'AAA', 'AA', or 'Fail'.
Typedefs
- NiceBenchmarkWidgetBuilder = Widget Function(int iteration)
- Callback to build the widget being benchmarked.
- NiceComponentBuilder = Widget Function(BuildContext context, NiceViewComponent component)
- Callback that builds a widget for a NiceViewComponent.
-
NiceModuleInitializer
= Future<
void> Function() - Callback to lazily initialize a module (deferred import pattern).
- NiceValidationRule = String? Function(dynamic value)
- Built-in validation rules.