refactor: Upgrade to Flutter 2.5
This commit is contained in:
parent
21d7f862dd
commit
eba304556c
7 changed files with 39 additions and 49 deletions
|
|
@ -79,10 +79,10 @@ class ChatDetailsView extends StatelessWidget {
|
|||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.appBarTheme
|
||||
.textTheme
|
||||
.headline6
|
||||
.titleTextStyle
|
||||
.color)),
|
||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||
backgroundColor:
|
||||
Theme.of(context).appBarTheme.backgroundColor,
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: ContentBanner(room.avatar,
|
||||
onEdit: room.canSendEvent('m.room.avatar')
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class SettingsView extends StatelessWidget {
|
|||
floating: true,
|
||||
pinned: true,
|
||||
title: Text(L10n.of(context).settings),
|
||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||
backgroundColor: Theme.of(context).appBarTheme.backgroundColor,
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: ContentBanner(
|
||||
controller.profile?.avatarUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue