мелкие изменения

This commit is contained in:
revengel66 2024-12-21 02:47:21 +04:00
parent 8f6581ae98
commit a34d313509
2 changed files with 4 additions and 4 deletions

View File

@ -2,12 +2,12 @@ class CardData {
final String name; final String name;
final String description; final String description;
final String? img; final String? img;
final String? id; final String id;
CardData( CardData(
this.name, { this.name, {
required this.description, required this.description,
this.img, this.img,
this.id, required this.id,
}); });
} }

View File

@ -16,8 +16,8 @@ class DetailsPage extends StatelessWidget {
iconTheme: const IconThemeData( iconTheme: const IconThemeData(
color: Colors.white, color: Colors.white,
), ),
title: const Text( title: Text(
'Детальная страница', data.name,
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
), ),