ой пу пу пу

This commit is contained in:
Галина Федоренко 2024-10-17 12:17:29 +04:00
parent 7339992573
commit 216fedde62
3 changed files with 4 additions and 5 deletions

View File

@ -19,7 +19,6 @@ class MyApp extends StatelessWidget {
),
darkTheme: ThemeData.dark().copyWith(
colorScheme: ColorScheme.fromSeed(seedColor: const Color.fromARGB(255, 20, 40, 150)),
useMaterial3: true,
),
themeMode: ThemeMode.light, // Можно изменить на ThemeMode.light или ThemeMode.dark
home: const MyHomePage(title: '7 Kingdoms'),

View File

@ -13,7 +13,7 @@ class DetailsPage extends StatelessWidget {
return Scaffold(
appBar: AppBar(),
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0), // Добавляем общий отступ слева и справа
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@ -35,7 +35,7 @@ class DetailsPage extends StatelessWidget {
data.text,
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
fontSize: 27.0,
fontFamily: 'Times New Roman', // Укажите здесь желаемый шрифт
fontFamily: 'Times New Roman',
),
),
),
@ -43,7 +43,7 @@ class DetailsPage extends StatelessWidget {
data.descriptionText,
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
fontSize: 20.0,
fontFamily: 'Times New Roman', // Укажите здесь желаемый шрифт
fontFamily: 'Times New Roman',
),
)
],

View File

@ -86,7 +86,7 @@ class _CardState extends State<_Card> {
widget.text,
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
fontSize: 20.0,
fontFamily: 'Times New Roman', // Укажите здесь желаемый шрифт
fontFamily: 'Times New Roman',
),
),
],