Changed settings appbar

This commit is contained in:
Juan Gilsanz Polo 2022-09-27 15:53:17 +02:00
parent eace1767f0
commit b6014955aa

View file

@ -6,8 +6,7 @@ class SettingsAppBar extends StatelessWidget with PreferredSizeWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AppBar( return AppBar(
toolbarHeight: 50, toolbarHeight: 80,
centerTitle: true,
title: Row( title: Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
@ -19,14 +18,14 @@ class SettingsAppBar extends StatelessWidget with PreferredSizeWidget {
const Text( const Text(
"AdGuard Home Manager", "AdGuard Home Manager",
style: TextStyle( style: TextStyle(
fontSize: 20 fontSize: 22
), ),
) )
], ],
), )
); );
} }
@override @override
Size get preferredSize => const Size.fromHeight(kToolbarHeight); Size get preferredSize => const Size.fromHeight(80);
} }