FeatureDescriptor constructor
FeatureDescriptor({
- required String name,
- required String title,
- String? description,
- IconData? icon,
- VoidFutureFunction? init,
- VoidFutureFunction? dispose,
- required RouteBuilderFunction routes,
- List<
ExtensionDescriptor> ? extensions, - List<
ExtensionBuilder> ? extensionBuilders,
Creates a new FeatureDescriptor.
Implementation
FeatureDescriptor({
required this.name,
required this.title,
this.description,
this.icon,
this.init,
this.dispose,
required RouteBuilderFunction routes,
this.extensions,
this.extensionBuilders,
}) : _routes = _runOnce(routes);