mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-09 17:55:13 -04:00
ui cleanup
This commit is contained in:
parent
e4358586aa
commit
23867a1784
17 changed files with 135 additions and 90 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue