NiceVersionHistory constructor

const NiceVersionHistory({
  1. Key? key,
  2. required List<NiceVersionItem> versions,
  3. String? currentVersionId,
  4. ValueChanged<NiceVersionItem>? onVersionSelected,
  5. ValueChanged<NiceVersionItem>? onVersionRestore,
  6. void onCompare(
    1. NiceVersionItem,
    2. NiceVersionItem
    )?,
  7. bool showCompare = false,
})

Implementation

const NiceVersionHistory({
  super.key,
  required this.versions,
  this.currentVersionId,
  this.onVersionSelected,
  this.onVersionRestore,
  this.onCompare,
  this.showCompare = false,
});