FeatureDescriptor constructor

FeatureDescriptor({
  1. required String name,
  2. required String title,
  3. String? description,
  4. IconData? icon,
  5. VoidFutureFunction? init,
  6. VoidFutureFunction? dispose,
  7. required RouteBuilderFunction routes,
  8. List<ExtensionDescriptor>? extensions,
  9. 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);