@@ -34,10 +34,9 @@ class AppSection extends StatelessWidget {
3434 Expanded (
3535 child: SelectableText (
3636 vm.appId,
37- style: const TextStyle (
38- fontFamily: 'monospace' ,
39- fontSize: 12 ,
40- ),
37+ style: Theme .of (context).textTheme.bodySmall? .copyWith (
38+ fontFamily: 'monospace' ,
39+ ),
4140 textAlign: TextAlign .end,
4241 ),
4342 ),
@@ -48,38 +47,38 @@ class AppSection extends StatelessWidget {
4847 AppSpacing .gapBox,
4948
5049 // Guidance banner
51- Container (
50+ SizedBox (
5251 width: double .infinity,
53- padding: const EdgeInsets .all (12 ),
54- decoration: BoxDecoration (
52+ child: Card (
5553 color: AppColors .warningBackground,
56- borderRadius: BorderRadius .circular (8 ),
57- ),
58- child: Column (
59- crossAxisAlignment: CrossAxisAlignment .start,
60- children: [
61- const Text (
62- 'Add your own App ID, then rebuild to fully test all functionality.' ,
63- style: TextStyle (fontSize: 13 ),
64- ),
65- AppSpacing .gapBox,
66- GestureDetector (
67- onTap: () => launchUrl (
68- Uri .parse ('https://onesignal.com' ),
69- mode: LaunchMode .externalApplication,
54+ margin: EdgeInsets .zero,
55+ child: Padding (
56+ padding: const EdgeInsets .all (12 ),
57+ child: Column (
58+ crossAxisAlignment: CrossAxisAlignment .start,
59+ children: [
60+ Text (
61+ 'Add your own App ID, then rebuild to fully test all functionality.' ,
62+ style: Theme .of (context).textTheme.bodySmall,
7063 ),
71- child: Text (
72- 'Get your keys at onesignal.com' ,
73- style: TextStyle (
74- fontSize: 13 ,
75- color: Theme .of (context).colorScheme.primary,
76- decoration: TextDecoration .underline,
64+ GestureDetector (
65+ onTap: () => launchUrl (
66+ Uri .parse ('https://onesignal.com' ),
67+ mode: LaunchMode .externalApplication,
68+ ),
69+ child: Text (
70+ 'Get your keys at onesignal.com' ,
71+ style: Theme .of (context).textTheme.bodySmall? .copyWith (
72+ color: AppColors .oneSignalRed,
73+ fontWeight: FontWeight .w600,
74+ ),
7775 ),
7876 ),
79- ) ,
80- ] ,
77+ ] ,
78+ ) ,
8179 ),
8280 ),
81+ ),
8382 AppSpacing .gapBox,
8483
8584 // Consent card
0 commit comments