NiceViewHost constructor
const
NiceViewHost({
- Key? key,
- required String module,
- required String viewId,
- required NiceViewService service,
- NiceViewRegistry? registry,
- Widget fallbackBuilder()?,
- WidgetBuilder? loadingBuilder,
- Widget errorBuilder(
- BuildContext,
- Object error
- bool autoRefresh = false,
- Duration refreshInterval = const Duration(minutes: 5),
Implementation
const NiceViewHost({
super.key,
required this.module,
required this.viewId,
required this.service,
this.registry,
this.fallbackBuilder,
this.loadingBuilder,
this.errorBuilder,
this.autoRefresh = false,
this.refreshInterval = const Duration(minutes: 5),
});