removed swipe actions list
This commit is contained in:
@@ -80,7 +80,6 @@ class ChannelListView extends StatefulWidget {
|
||||
this.listBuilder,
|
||||
this.onMoreDetailsPressed,
|
||||
this.onDeletePressed,
|
||||
this.swipeActions,
|
||||
}) : super(key: key);
|
||||
|
||||
/// If true a default swipe to action behaviour will be added to this widget
|
||||
@@ -167,9 +166,6 @@ class ChannelListView extends StatefulWidget {
|
||||
/// Callback used when the delete slidable option is pressed
|
||||
final VoidCallback? onDeletePressed;
|
||||
|
||||
/// Actions shown when list tile is swiped
|
||||
final List<IconSlideAction>? swipeActions;
|
||||
|
||||
@override
|
||||
_ChannelListViewState createState() => _ChannelListViewState();
|
||||
}
|
||||
@@ -477,8 +473,7 @@ class _ChannelListViewState extends State<ChannelListView> {
|
||||
enabled: widget.swipeToAction,
|
||||
actionPane: const SlidableBehindActionPane(),
|
||||
actionExtentRatio: 0.12,
|
||||
secondaryActions: widget.swipeActions ??
|
||||
<Widget>[
|
||||
secondaryActions: <Widget>[
|
||||
IconSlideAction(
|
||||
color: backgroundColor,
|
||||
icon: Icons.more_horiz,
|
||||
|
||||
Reference in New Issue
Block a user