ViewerSectionUnion.apiDocs constructor

const ViewerSectionUnion.apiDocs({
  1. required String id,
  2. required String title,
  3. String? description,
})

API reference section. The actual API information will be retrieved from the constructor, via ViewerWidgetBuilder.

Implementation

const factory ViewerSectionUnion.apiDocs({
  /// Id of the section.
  required String id,

  /// Title of the section.
  required String title,

  /// Description of the section.
  String? description,
}) = ViewerApiDocsSection;