AppRoute constructor

const AppRoute({
  1. required Widget page,
  2. required String name,
})

Implementation

const AppRoute({
  required this.page,
  required this.name,
});