ChangelogView constructor

const ChangelogView({
  1. Key? key,
  2. String? changelog,
  3. List<ChangelogEntry>? entries,
  4. ChangelogStyle? style,
  5. bool collapsible = true,
  6. int initiallyExpandedCount = 3,
  7. Widget bulletBuilder(
    1. String bullet
    )?,
  8. String? highlightVersion,
})

Creates a changelog view.

Implementation

const ChangelogView({
  super.key,
  this.changelog,
  this.entries,
  this.style,
  this.collapsible = true,
  this.initiallyExpandedCount = 3,
  this.bulletBuilder,
  this.highlightVersion,
}) : assert(
       (changelog != null) != (entries != null),
       'Provide exactly one of changelog or entries.',
     );