import 'package:flutter/material.dart'; class SettingsAppBar extends StatelessWidget { const SettingsAppBar({super.key}); @override Widget build(BuildContext context) { return AppBar( backgroundColor: Theme.of(context).colorScheme.surfaceVariant, title: const Text("Settings"), bottom: PreferredSize( preferredSize: const Size.fromHeight(1), child: Container( height: 1, color: Colors.black, ), ), ); } }