Fix analyzer

This commit is contained in:
Christian Pauly 2020-02-16 20:35:08 +01:00
parent 3e404e5cc1
commit 63e9a25ca5
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ class ReplyContent extends StatelessWidget {
style: TextStyle( style: TextStyle(
color: lightText color: lightText
? Colors.white ? Colors.white
: Theme.of(context).textTheme.bodyText1.color), : Theme.of(context).textTheme.body1.color),
), ),
], ],
), ),

View file

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