chore: fix linter warnings

This commit is contained in:
Gordon Hayes
2021-10-12 12:04:06 +02:00
parent cb2d7df46f
commit ca3515618b
9 changed files with 17 additions and 16 deletions
@@ -5,7 +5,7 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
class ChatView extends StatelessWidget {
@override
Widget build(BuildContext context) {
final textColor = Theme.of(context).appBarTheme.color;
final textColor = Theme.of(context).appBarTheme.backgroundColor;
return Scaffold(
backgroundColor: Theme.of(context).canvasColor,
appBar: AppBar(
@@ -25,8 +25,8 @@ class FriendsSelectionView extends StatelessWidget {
@override
Widget build(BuildContext context) {
final textColor = Theme.of(context).appBarTheme.color;
final accentColor = Theme.of(context).accentColor;
final textColor = Theme.of(context).appBarTheme.backgroundColor;
final accentColor = Theme.of(context).colorScheme.secondary;
return MultiBlocProvider(
providers: [
BlocProvider(
@@ -48,7 +48,7 @@ class GroupSelectionView extends StatelessWidget {
'New Group',
style: TextStyle(
fontSize: 24,
color: Theme.of(context).appBarTheme.color,
color: Theme.of(context).appBarTheme.backgroundColor,
fontWeight: FontWeight.w800,
),
),
@@ -44,7 +44,6 @@ class SettingsView extends StatelessWidget {
child: Column(
children: [
AvatarImageView(
//TODO: implement change avatar
onTap: () => null,
child: image != null
? Image.network(