AttendanceAcknowledgementRoute constructor

AttendanceAcknowledgementRoute({
  1. Key? key,
  2. AttendanceLocalization? appLocalizations,
  3. required String label,
  4. String? subLabel,
  5. String? description,
  6. Widget? descriptionWidget,
  7. void action()?,
  8. String? actionLabel,
  9. IconData? icon,
  10. Color? color,
  11. bool enableBackToSearch = true,
  12. void secondaryAction()?,
  13. String? secondaryLabel,
  14. List<PageRouteInfo>? children,
})

Implementation

AttendanceAcknowledgementRoute({
  _i6.Key? key,
  _i7.AttendanceLocalization? appLocalizations,
  required String label,
  String? subLabel,
  String? description,
  _i6.Widget? descriptionWidget,
  void Function()? action,
  String? actionLabel,
  _i6.IconData? icon,
  _i8.Color? color,
  bool enableBackToSearch = true,
  void Function()? secondaryAction,
  String? secondaryLabel,
  List<_i5.PageRouteInfo>? children,
}) : super(
        AttendanceAcknowledgementRoute.name,
        args: AttendanceAcknowledgementRouteArgs(
          key: key,
          appLocalizations: appLocalizations,
          label: label,
          subLabel: subLabel,
          description: description,
          descriptionWidget: descriptionWidget,
          action: action,
          actionLabel: actionLabel,
          icon: icon,
          color: color,
          enableBackToSearch: enableBackToSearch,
          secondaryAction: secondaryAction,
          secondaryLabel: secondaryLabel,
        ),
        initialChildren: children,
      );