PrefPageButton constructor

const PrefPageButton({
  1. Key? key,
  2. Widget? title,
  3. required PrefPage page,
  4. Widget? subtitle,
  5. Widget? pageTitle,
  6. Widget? leading,
  7. Widget? trailing,
})

Implementation

const PrefPageButton({
  Key? key,
  this.title,
  required this.page,
  this.subtitle,
  this.pageTitle,
  this.leading,
  this.trailing,
}) : super(key: key);