NiceDocumentVersionList constructor

const NiceDocumentVersionList({
  1. Key? key,
  2. required List<NiceDocumentVersion> versions,
  3. String title = 'Version History',
  4. void onVersionTap(
    1. NiceDocumentVersion v
    )?,
  5. void onRestore(
    1. NiceDocumentVersion v
    )?,
  6. String? currentVersion,
})

Implementation

const NiceDocumentVersionList({
  super.key,
  required this.versions,
  this.title = 'Version History',
  this.onVersionTap,
  this.onRestore,
  this.currentVersion,
});