refactor: Upgrade to Flutter 2.5

This commit is contained in:
Krille Fear 2021-09-13 17:41:53 +02:00
commit eba304556c
7 changed files with 39 additions and 49 deletions

View file

@ -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')

View file

@ -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,