Fix deprecations

This commit is contained in:
Christian Pauly 2020-05-06 18:43:30 +02:00
commit 02ebf0ff43
9 changed files with 21 additions and 13 deletions

View file

@ -407,7 +407,7 @@ class _ChatState extends State<_Chat> {
child: Icon(Icons.arrow_downward,
color: Theme.of(context).primaryColor),
onPressed: () => _scrollController.jumpTo(0),
foregroundColor: Theme.of(context).textTheme.body1.color,
foregroundColor: Theme.of(context).textTheme.bodyText2.color,
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
mini: true,
),