content: import 'package:app/pages/journey/train_journey/journey_position/journey_position_model.dart';
  import 'package:app/pages/journey/train_journey/widgets/reduced_overview/cells/reduced_time_cell_body.dart';
  import 'package:app/pages/journey/train_journey/widgets/table/cells/route_cell_body.dart';
  import 'package:app/pages/journey/train_journey/widgets/table/cells/route_chevron.dart';
  import 'package:app/pages/journey/train_journey/widgets/table/service_point_row.dart';
  import 'package:app/theme/theme_util.dart';
  import 'package:app/widgets/table/das_table_cell.dart';
  import 'package:flutter/material.dart';
  
  class ReducedServicePointRow extends ServicePointRow {
    ReducedServicePointRow({
      required super.metadata,
      required super.data,
      required super.rowIndex,
      required super.context,
      super.config,
      super.key,
    }) : super(
           rowColor: ThemeUtil.getDASTableColor(context),
           journeyPosition: JourneyPositionModel(),
           highlightNextStop: false,
         );
  
    @override
    DASTableCell localSpeedCell(BuildContext context) {
      return DASTableCell.empty();
    }
  
    @override
    DASTableCell timeCell(BuildContext context) {
      final times = data.arrivalDepartureTime;
      if (times == null) return DASTableCell.empty(color: specialCellColor);
  
      return DASTableCell(
        child: ReducedTimeCellBody(times: times, showTimesInBrackets: !data.isStop),
        alignment: defaultAlignment,
        color: specialCellColor,
      );
    }
  
    @override
    DASTableCell routeCell(BuildContext context) {
      return DASTableCell(
        color: specialCellColor,
        padding: EdgeInsets.all(0.0),
        alignment: null,
        clipBehaviour: Clip.none,
        child: RouteCellBody(
          isStop: data.isStop,
          isCurrentPosition: false,
          isRouteStart: metadata.journeyStart == data,
          isRouteEnd: metadata.journeyEnd == data,
          isStopOnRequest: !data.mandatoryStop,
          chevronPosition: RouteChevron.positionFromHeight(height),
        ),
      );
    }
  }
  