tools\nice_view_engine library
Classes
- 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.)
- NiceInMemoryCacheStorage
- In-memory implementation of NiceViewCacheStorage for development/testing.
- 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.
- 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.
- 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.
- NiceViewService
- Service for loading, caching, and hot-swapping ERP view definitions.
- NiceViewServiceConfig
- Configuration for the view service.
- NiceViewVersioning
- Utility for computing diffs between view definition versions and migrating definitions.
Enums
- NiceViewChangeType
- Type of change in a view diff.
Typedefs
- NiceComponentBuilder = Widget Function(BuildContext context, NiceViewComponent component)
- Callback that builds a widget for a NiceViewComponent.