Route constructor

const Route({
  1. Key? key,
  2. required String title,
  3. String? previousPageTitle,
  4. required Widget child,
  5. PreferredSizeWidget? top,
  6. Widget? bottom,
  7. List<Widget>? actions,
  8. Widget? floatingActionButton,
  9. Future<void> onRefresh(
    1. BuildContext context
    )?,
})

Implementation

const Route({
  super.key,
  required this.title,
  this.previousPageTitle,
  required this.child,
  this.top,
  this.bottom,
  this.actions,
  this.floatingActionButton,
  this.onRefresh,
});