DetailsView constructor

const DetailsView({
  1. Key? key,
  2. required int listIndex,
  3. required DetailsWidget details,
  4. VoidCallback? previous,
  5. VoidCallback? next,
  6. bool isLast = false,
  7. bool isFirst = false,
  8. bool automaticallyImplyLeading = true,
  9. bool showDetailsArrows = false,
  10. GlobalKey<ScaffoldState>? scaffoldKey,
})

Implementation

const DetailsView({
  Key? key,
  required int listIndex,
  required DetailsWidget details,
  this.previous,
  this.next,
  this.isLast = false,
  this.isFirst = false,
  this.automaticallyImplyLeading = true,
  this.showDetailsArrows = false,
  this.scaffoldKey,
})  : _listIndex = listIndex,
      _details = details,
      super(key: key);