ui cleanup

This commit is contained in:
Christien Rioux 2025-03-20 17:31:02 -04:00
parent e4358586aa
commit 23867a1784
17 changed files with 135 additions and 90 deletions

View file

@ -4,9 +4,12 @@ import 'package:flutter_svg/flutter_svg.dart';
class DefaultAppBar extends AppBar {
DefaultAppBar(
{required super.title, super.key, Widget? leading, super.actions})
{super.title,
super.flexibleSpace,
super.key,
Widget? leading,
super.actions})
: super(
titleSpacing: 0,
leading: leading ??
Container(
margin: const EdgeInsets.all(4),
@ -14,6 +17,6 @@ class DefaultAppBar extends AppBar {
color: Colors.black.withAlpha(32),
shape: BoxShape.circle),
child:
SvgPicture.asset('assets/images/vlogo.svg', height: 32)
SvgPicture.asset('assets/images/vlogo.svg', height: 24)
.paddingAll(4)));
}