analysis fixes

This commit is contained in:
Deven Joshi
2021-05-31 14:28:49 +05:30
parent f75e50d651
commit 56e7d45cb8
@@ -662,14 +662,21 @@ class _ChannelListViewState extends State<ChannelListView> {
}
}
/// Class for slidable action
class SwipeAction {
Color? color;
Widget iconWidget;
VoidCallback? onTap;
/// Constructor for creating [SwipeAction]
SwipeAction({
this.color,
required this.iconWidget,
this.onTap,
});
/// Background color of action
Color? color;
/// Widget to display as icon
Widget iconWidget;
/// Callback when icon is tapped
VoidCallback? onTap;
}