SwaggerUI constructor

SwaggerUI(
  1. String schemaText, {
  2. SpecType specType = SpecType.json,
  3. String title = 'API Swagger',
  4. DocExpansion docExpansion = DocExpansion.list,
  5. SyntaxHighlightTheme syntaxHighlightTheme = SyntaxHighlightTheme.agate,
  6. bool deepLink = false,
  7. bool persistAuthorization = false,
})

Implementation

SwaggerUI(
  this.schemaText, {
  this.specType = SpecType.json,
  this.title = 'API Swagger',
  this.docExpansion = DocExpansion.list,
  this.syntaxHighlightTheme = SyntaxHighlightTheme.agate,
  this.deepLink = false,
  this.persistAuthorization = false,
});