import 'package:flutter/material.dart'; class PickerSectionHeader extends StatelessWidget { const PickerSectionHeader({super.key, required this.title}); final String title; @override Widget build(BuildContext context) { return Padding( padding: const EdgeInsets.fromLTRB(4, 12, 4, 8), child: Text( title, style: Theme.of(context).textTheme.bodyMedium?.copyWith( fontWeight: FontWeight.w500, color: Theme.of(context).colorScheme.onSurfaceVariant, ), ), ); } }