widgets property

The widgets defined by this LocalWidgetLibrary.

The returned map is an immutable view of the map provided to the constructor. They keys are the unqualified widget names, and the values are the corresponding LocalWidgetBuilders.

The map never changes during the lifetime of the LocalWidgetLibrary, but a new instance of an UnmodifiableMapView is returned each time this getter is used.

See also:

Implementation

UnmodifiableMapView<String, LocalWidgetBuilder> get widgets {
  return UnmodifiableMapView<String, LocalWidgetBuilder>(_widgets);
}