add vodozemac
This commit is contained in:
parent
f0a397f576
commit
ec48e3ae96
8 changed files with 53 additions and 8 deletions
|
|
@ -121,7 +121,10 @@ extension ToMessage on Event {
|
|||
}
|
||||
|
||||
extension ToTheme on ColorScheme {
|
||||
ThemeData get theme => ThemeData.from(
|
||||
colorScheme: this,
|
||||
).copyWith(appBarTheme: AppBarTheme(titleSpacing: 0));
|
||||
ThemeData get theme => ThemeData.from(colorScheme: this).copyWith(
|
||||
appBarTheme: AppBarTheme(
|
||||
titleSpacing: 0,
|
||||
backgroundColor: surfaceContainerLow,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,9 +20,6 @@ class MemberList extends ConsumerWidget {
|
|||
children: [
|
||||
AppBar(
|
||||
scrolledUnderElevation: 0,
|
||||
backgroundColor: Theme.of(
|
||||
context,
|
||||
).colorScheme.surfaceContainerLow,
|
||||
leading: Icon(Icons.people),
|
||||
title: Text("Members"),
|
||||
actionsPadding: EdgeInsets.only(right: 4),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ class RoomAppbar extends StatelessWidget implements PreferredSizeWidget {
|
|||
)
|
||||
: DrawerButton(onPressed: () => onOpenDrawer(context)),
|
||||
scrolledUnderElevation: 0,
|
||||
backgroundColor: Theme.of(context).colorScheme.surfaceContainerLow,
|
||||
actionsPadding: EdgeInsets.symmetric(horizontal: 8),
|
||||
title: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue