refactor: extract consistent AppBar builder, remove icon from EVENT LOG title

- Add buildTracPulseAppBar() helper in lib/app_bar.dart
  - Reads backgroundColor/elevation from ThemeData.appBarTheme
  - Consistent back button (#9e9e9e, size 20) via Navigator.pop
  - Monospace title style (14px, weight 700, letter-spacing 2)
  - Optional onTitleTap for tappable titles
- Update all screens to use the new helper, removing redundant overrides
- Remove terminal icon from status_screen title, use plain centered text
- Change appBarTheme centerTitle to false (left-aligned)
- Remove bottom dividers from all screens
This commit is contained in:
fiatcode 2026-05-06 08:01:12 +07:00
parent 2123df11c9
commit 4ce1f51062
No known key found for this signature in database
5 changed files with 66 additions and 86 deletions

View file

@ -38,7 +38,7 @@ class TracPulseApp extends StatelessWidget {
secondary: Color(0xFF00e676),
),
appBarTheme: const AppBarTheme(
centerTitle: true,
centerTitle: false,
backgroundColor: Color(0xFF161616),
foregroundColor: Color(0xFFe0e0e0),
elevation: 0,