diff --git a/lib/features/garage/motorcycle_detail_screen.dart b/lib/features/garage/motorcycle_detail_screen.dart index 9f8c232..8c0ba42 100644 --- a/lib/features/garage/motorcycle_detail_screen.dart +++ b/lib/features/garage/motorcycle_detail_screen.dart @@ -6,6 +6,7 @@ import '../../database/database.dart'; import '../../models/motorcycle_models.dart'; import '../../core/theme/evolution_theme_config.dart'; import 'widgets/evolution_motorcycle_detail_view.dart'; +import 'widgets/motorcycle_photo.dart'; import 'garage_providers.dart'; class MotorcycleDetailScreen extends ConsumerWidget { @@ -110,10 +111,18 @@ class MotorcycleDetailScreen extends ConsumerWidget { padding: const EdgeInsets.all(20.0), child: Column( children: [ + MotorcyclePhoto( + year: bike.year, + make: bike.makeName, + model: bike.modelName, + height: 210, + borderRadius: BorderRadius.circular(12), + showAttribution: true, + fit: BoxFit.cover, + ), + const SizedBox(height: 16), Row( children: [ - const Icon(Icons.two_wheeler, size: 54, color: Colors.cyanAccent), - const SizedBox(width: 16), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start,