EditTripUiState
class EditTripUiState
UI state for the edit trip card.
Parameters
items
the list of items.
isFetching
indicates if routes are being fetched.
onOpenFullScreenSearchClick
the callback for opening the full screen search.
onRemoveWaypoints
the callback for removing waypoints from the list.
onDoneClick
the callback for the done button click.
onItemSwap
the callback for swapping items.
onAddChargersClick
the callback for adding charging stations.
onRemoveChargersClick
the callback for removing charging stations.
backCloseButtonState
the state of the back/close button.
onRoutesOverviewClick
the callback to open the routes overview.