migrate app

This commit is contained in:
Salvatore Giordano
2021-05-17 15:58:10 +02:00
parent 273b24bcd8
commit 33622093e0
14 changed files with 93 additions and 82 deletions
+3 -3
View File
@@ -3,8 +3,8 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart' show Channel;
class ChannelNameText extends StatelessWidget {
const ChannelNameText({
Key key,
@required this.channel,
Key? key,
required this.channel,
this.size = 17,
}) : super(key: key);
@@ -14,7 +14,7 @@ class ChannelNameText extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Text(
channel.extraData['name'] as String ?? 'No name',
channel.extraData['name'] as String? ?? 'No name',
style: TextStyle(
fontSize: size,
fontWeight: FontWeight.bold,