changes to UI of LocationRecommendation widget

This commit is contained in:
ashilkn 2024-02-22 12:32:42 +05:30
parent 7f2ea10f64
commit 9d3971cd73

View file

@ -276,19 +276,24 @@ class LocationRecommendation extends StatelessWidget {
),
],
),
const SizedBox(height: 4),
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
locationSearchResult.name(),
style: enteTextTheme.small
.copyWith(color: Colors.white),
maxLines: 1,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
),
],
child: SizedBox(
width: 90,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
locationSearchResult.name(),
style: enteTextTheme.mini.copyWith(
color: Colors.white,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.center,
),
],
),
),
),
],