LocationListTile constructor
const
LocationListTile({
- Key? key,
- required Prediction prediction,
- dynamic onPredictionSelected()?,
Creates a LocationListTile widget.
prediction: The Prediction object that contains the data to be displayed in the list tile. This parameter is required.onPredictionSelected: An optional callback function that will be called when the list tile is tapped, passing the Prediction object as an argument.
Implementation
const LocationListTile({
super.key,
required this.prediction,
this.onPredictionSelected,
});