@@ -219,12 +219,11 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
219219 ExpansionTile (
220220 title: Text (l10n.primaryAdPlatformTitle),
221221 childrenPadding: const EdgeInsetsDirectional .only (
222- start: AppSpacing .lg, // Adjusted padding for hierarchy
222+ start: AppSpacing .lg,
223223 top: AppSpacing .md,
224224 bottom: AppSpacing .md,
225225 ),
226- expandedCrossAxisAlignment:
227- CrossAxisAlignment .start, // Align content to start
226+ expandedCrossAxisAlignment: CrossAxisAlignment .start,
228227 children: [
229228 Text (
230229 l10n.primaryAdPlatformDescription,
@@ -233,7 +232,7 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
233232 context,
234233 ).colorScheme.onSurface.withOpacity (0.7 ),
235234 ),
236- textAlign: TextAlign .start, // Ensure text aligns to start
235+ textAlign: TextAlign .start,
237236 ),
238237 const SizedBox (height: AppSpacing .lg),
239238 Align (
@@ -246,10 +245,7 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
246245 ),
247246 segments: AdPlatformType .values
248247 .where (
249- (type) =>
250- type !=
251- AdPlatformType
252- .demo, // Ignore demo ad platform for dashboard
248+ (type) => type != AdPlatformType .demo,
253249 )
254250 .map (
255251 (type) => ButtonSegment <AdPlatformType >(
@@ -281,12 +277,11 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
281277 ExpansionTile (
282278 title: Text (l10n.adUnitIdentifiersTitle),
283279 childrenPadding: const EdgeInsetsDirectional .only (
284- start: AppSpacing .lg, // Adjusted padding for hierarchy
280+ start: AppSpacing .lg,
285281 top: AppSpacing .md,
286282 bottom: AppSpacing .md,
287283 ),
288- expandedCrossAxisAlignment:
289- CrossAxisAlignment .start, // Align content to start
284+ expandedCrossAxisAlignment: CrossAxisAlignment .start,
290285 children: [
291286 Text (
292287 l10n.adUnitIdentifiersDescription,
@@ -295,7 +290,7 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
295290 context,
296291 ).colorScheme.onSurface.withOpacity (0.7 ),
297292 ),
298- textAlign: TextAlign .start, // Ensure text aligns to start
293+ textAlign: TextAlign .start,
299294 ),
300295 const SizedBox (height: AppSpacing .lg),
301296 _buildAdUnitIdentifierFields (
@@ -313,12 +308,11 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
313308 ExpansionTile (
314309 title: Text (l10n.localAdManagementTitle),
315310 childrenPadding: const EdgeInsetsDirectional .only (
316- start: AppSpacing .lg, // Adjusted padding for hierarchy
311+ start: AppSpacing .lg,
317312 top: AppSpacing .md,
318313 bottom: AppSpacing .md,
319314 ),
320- expandedCrossAxisAlignment:
321- CrossAxisAlignment .start, // Align content to start
315+ expandedCrossAxisAlignment: CrossAxisAlignment .start,
322316 children: [
323317 Text (
324318 l10n.localAdManagementDescription,
@@ -327,7 +321,7 @@ class _AdPlatformConfigFormState extends State<AdPlatformConfigForm> {
327321 context,
328322 ).colorScheme.onSurface.withOpacity (0.7 ),
329323 ),
330- textAlign: TextAlign .start, // Ensure text aligns to start
324+ textAlign: TextAlign .start,
331325 ),
332326 const SizedBox (height: AppSpacing .lg),
333327 Center (
0 commit comments