getRenderer static method

SegmentRenderer? getRenderer(
  1. String type
)

Retrieves a registered SegmentRenderer for a given content type.

Returns null if no renderer is found for the specified type.

Implementation

///
  /// Returns `null` if no renderer is found for the specified type.
  static SegmentRenderer? getRenderer(String type) => _renderers[type];