обмен хомиков и одна правка

This commit is contained in:
sofia7ya 2024-12-10 11:59:36 +04:00
parent 6e67c012b1
commit 4eee81fe2f
2 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true, useMaterial3: true,
), ),
home: const MyHomePage(title: 'The coolest hamsters on earth ^^'), home: const HomePage(title: 'The coolest hamsters on earth ^^'),
); );
} }
} }

View File

@ -5,16 +5,16 @@ import 'package:flutter_labs/domain/models/card.dart';
part 'card.dart'; part 'card.dart';
class MyHomePage extends StatefulWidget { class HomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title}); const HomePage({super.key, required this.title});
final String title; final String title;
@override @override
State<MyHomePage> createState() => _MyHomePageState(); State<HomePage> createState() => _HomePageState();
} }
class _MyHomePageState extends State<MyHomePage> { class _HomePageState extends State<HomePage> {
final Color _color = Colors.orangeAccent; final Color _color = Colors.orangeAccent;
@override @override
@ -39,7 +39,7 @@ class Body extends StatelessWidget {
descriptionText: 'hahaha', descriptionText: 'hahaha',
icon: Icons.abc, icon: Icons.abc,
imageUrl: imageUrl:
'https://sun34-1.userapi.com/impg/_DLT-op0LbBdgh5h-ILvC7IMDY5kbLR349v7vA/tX7vtk6mNlA.jpg?size=736x736&quality=96&sign=47f2b0f63bf249c62f4498fb637695d5&type=album'), 'https://sun9-26.userapi.com/impg/sB_tLPWPCIqxQWmlbcmlRYiw1ibFb70_QMtNwg/56qpyc_C8Go.jpg?size=736x711&quality=95&sign=8f7163b54538a2e7bad5f36a857485d4&type=album'),
CardData('mouse2', CardData('mouse2',
descriptionText: 'ahahaha', descriptionText: 'ahahaha',
icon: Icons.access_alarm_outlined, icon: Icons.access_alarm_outlined,
@ -49,7 +49,7 @@ class Body extends StatelessWidget {
descriptionText: 'eeee', descriptionText: 'eeee',
icon: Icons.access_alarm_rounded, icon: Icons.access_alarm_rounded,
imageUrl: imageUrl:
'https://sun9-26.userapi.com/impg/sB_tLPWPCIqxQWmlbcmlRYiw1ibFb70_QMtNwg/56qpyc_C8Go.jpg?size=736x711&quality=95&sign=8f7163b54538a2e7bad5f36a857485d4&type=album'), 'https://sun34-1.userapi.com/impg/_DLT-op0LbBdgh5h-ILvC7IMDY5kbLR349v7vA/tX7vtk6mNlA.jpg?size=736x736&quality=96&sign=47f2b0f63bf249c62f4498fb637695d5&type=album'),
]; ];
return Center( return Center(