chore: fix linter warnings
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user