From 3ffdd6f26476b725609043af203028a30af16b3c Mon Sep 17 00:00:00 2001 From: Kelrap Date: Fri, 21 Jun 2024 11:49:35 -0400 Subject: [PATCH] Use more readable text and selection color --- lib/pangea/pages/p_user_age/p_user_age_view.dart | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/pangea/pages/p_user_age/p_user_age_view.dart b/lib/pangea/pages/p_user_age/p_user_age_view.dart index e3eac4d12..1438cf0fe 100644 --- a/lib/pangea/pages/p_user_age/p_user_age_view.dart +++ b/lib/pangea/pages/p_user_age/p_user_age_view.dart @@ -1,3 +1,4 @@ +import 'package:fluffychat/config/app_config.dart'; import 'package:fluffychat/pangea/pages/p_user_age/p_user_age.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; @@ -18,11 +19,15 @@ class PUserAgeView extends StatelessWidget { children: [ Container( margin: const EdgeInsets.only(top: 10), - padding: const EdgeInsets.all(12), + padding: const EdgeInsets.all(15), child: Text( L10n.of(context)!.yourBirthdayPlease, textAlign: TextAlign.justify, - style: const TextStyle(color: Colors.white), + style: const TextStyle( + color: Colors.black, + fontSize: 14, + fontWeight: FontWeight.bold, + ), ), ), const SizedBox( @@ -41,23 +46,25 @@ class PUserAgeView extends StatelessWidget { ListTile( title: Text( L10n.of(context)!.certifyAge(13), - style: const TextStyle(color: Colors.white, fontSize: 14), + style: const TextStyle(color: Colors.black, fontSize: 14), ), leading: Radio( value: 13, groupValue: controller.selectedAge, onChanged: controller.setSelectedAge, + activeColor: AppConfig.primaryColor, ), ), ListTile( title: Text( L10n.of(context)!.certifyAge(18), - style: const TextStyle(color: Colors.white, fontSize: 14), + style: const TextStyle(color: Colors.black, fontSize: 14), ), leading: Radio( value: 18, groupValue: controller.selectedAge, onChanged: controller.setSelectedAge, + activeColor: AppConfig.primaryColor, ), ), ],