FinishRouteWidget constructor

const FinishRouteWidget({
  1. required FinishRouteController controller,
  2. VoidCallback? onFinishClicked,
  3. bool shouldShowParkingButton = true,
  4. FinishRouteWidgetTheme? light,
  5. FinishRouteWidgetTheme? dark,
  6. Key? key,
})

Implementation

const FinishRouteWidget({
  required this.controller,
  this.onFinishClicked,
  this.shouldShowParkingButton = true,
  FinishRouteWidgetTheme? light,
  FinishRouteWidgetTheme? dark,
  super.key,
}) : super(
        dark: dark ?? FinishRouteWidgetTheme.defaultDark,
        light: light ?? FinishRouteWidgetTheme.defaultLight,
      );