diff --git a/lib/screens/home/home.dart b/lib/screens/home/home.dart index ce76080e..d200f999 100644 --- a/lib/screens/home/home.dart +++ b/lib/screens/home/home.dart @@ -64,7 +64,6 @@ class _HomeState extends State { onTap: FocusScope.of(context).unfocus, child: Scaffold( appBar: AppBar( - centerTitle: false, shape: const Border(), title: Observer( builder: (_) { diff --git a/lib/widgets/app_bar.dart b/lib/widgets/app_bar.dart index b758fc95..6bf4e436 100644 --- a/lib/widgets/app_bar.dart +++ b/lib/widgets/app_bar.dart @@ -2,13 +2,11 @@ import 'package:flutter/material.dart'; class FrostyAppBar extends StatelessWidget implements PreferredSizeWidget { final Widget title; - final bool? centerTitle; final List? actions; const FrostyAppBar({ super.key, required this.title, - this.centerTitle, this.actions, }); @@ -21,8 +19,8 @@ class FrostyAppBar extends StatelessWidget implements PreferredSizeWidget { onPressed: Navigator.of(context).pop, ), title: title, - centerTitle: centerTitle, actions: actions, + centerTitle: false, ); }