@@ -28,10 +28,10 @@ class AppSection extends StatelessWidget {
2828 Card (
2929 margin: EdgeInsets .zero,
3030 child: Padding (
31- padding: const EdgeInsets . symmetric (horizontal : 16 , vertical : 14 ) ,
31+ padding: AppSpacing .cardPadding ,
3232 child: Row (
3333 children: [
34- const Text ('App ID' , style: TextStyle (fontSize : 14 ) ),
34+ Text ('App ID' , style: Theme . of (context).textTheme.bodyMedium ),
3535 const SizedBox (width: 12 ),
3636 Expanded (
3737 child: SelectableText (
@@ -47,7 +47,7 @@ class AppSection extends StatelessWidget {
4747 ),
4848 ),
4949 ),
50- const SizedBox (height : 8 ) ,
50+ AppSpacing .gapBox ,
5151
5252 // Guidance banner
5353 Container (
@@ -64,7 +64,7 @@ class AppSection extends StatelessWidget {
6464 'Add your own App ID, then rebuild to fully test all functionality.' ,
6565 style: TextStyle (fontSize: 13 ),
6666 ),
67- const SizedBox (height : 4 ) ,
67+ AppSpacing .gapBox ,
6868 GestureDetector (
6969 onTap: () => launchUrl (
7070 Uri .parse ('https://onesignal.com' ),
@@ -82,13 +82,13 @@ class AppSection extends StatelessWidget {
8282 ],
8383 ),
8484 ),
85- const SizedBox (height : 8 ) ,
85+ AppSpacing .gapBox ,
8686
8787 // Consent card
8888 Card (
8989 margin: EdgeInsets .zero,
9090 child: Padding (
91- padding: const EdgeInsets . symmetric (horizontal : 16 , vertical : 8 ) ,
91+ padding: AppSpacing .cardPadding ,
9292 child: Column (
9393 children: [
9494 ToggleRow (
@@ -110,11 +110,11 @@ class AppSection extends StatelessWidget {
110110 ),
111111 ),
112112 ),
113- const SizedBox (height: 16 ),
113+ const SizedBox (height: 24 ),
114114
115115 // USER section header
116116 Padding (
117- padding: const EdgeInsets .only (bottom: 6 ),
117+ padding: EdgeInsets .only (bottom: AppSpacing .gap ),
118118 child: Text (
119119 'USER' ,
120120 style: Theme .of (context).textTheme.bodySmall? .copyWith (
@@ -129,7 +129,7 @@ class AppSection extends StatelessWidget {
129129 Card (
130130 margin: EdgeInsets .zero,
131131 child: Padding (
132- padding: const EdgeInsets . symmetric (horizontal : 16 , vertical : 14 ) ,
132+ padding: AppSpacing .cardPadding ,
133133 child: Column (
134134 children: [
135135 Row (
@@ -168,7 +168,7 @@ class AppSection extends StatelessWidget {
168168 ),
169169 ),
170170 ),
171- const SizedBox (height : 8 ) ,
171+ AppSpacing .gapBox ,
172172
173173 // Login / Switch User button
174174 PrimaryButton (
@@ -184,7 +184,7 @@ class AppSection extends StatelessWidget {
184184 },
185185 ),
186186 if (vm.isLoggedIn) ...[
187- const SizedBox (height : 8 ) ,
187+ AppSpacing .gapBox ,
188188
189189 // Logout button
190190 DestructiveButton (
0 commit comments