chore(repo): add lints, update freezed, json_serializable

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-05-16 16:58:24 +05:30
committed by xsahil03x
parent 2499755a05
commit 069f380f41
170 changed files with 616 additions and 737 deletions
@@ -25,7 +25,7 @@ class ChannelPreview extends StatelessWidget {
/// Constructor for creating [ChannelPreview]
const ChannelPreview({
required this.channel,
Key? key,
super.key,
this.onTap,
this.onLongPress,
this.onImageTap,
@@ -34,7 +34,7 @@ class ChannelPreview extends StatelessWidget {
this.leading,
this.sendingIndicator,
this.trailing,
}) : super(key: key);
});
/// Function called when tapping this widget
final void Function(Channel)? onTap;