title: Trigger slidable from button flutter
body: <p>I'm using the flutter_slidable package to delete items from a list I have in my app. But I would like to create a button outside of the listview that can trigger these items to display their slidables, but I am unsure how to do this from the documentation provided</p>
  <p><a href="https://pub.dev/packages/flutter_slidable" rel="nofollow noreferrer">https://pub.dev/packages/flutter_slidable</a></p>
  <pre><code>
  bool isClicked = false;
  
  @override
    Widget build(BuildContext context) {
      return Scaffold(
        backgroundColor: Colors.white,
        appBar: AppBar(
          brightness: Brightness.light,
          leading: new IconButton(
            icon: new Icon(Icons.arrow_back, color: Colors.black),
            onPressed: () {
              Navigator.of(context).pop();
            },
          ),
          backgroundColor: Colors.white,
          title: const Text(
            'User Cards',
            style: TextStyle(
                fontWeight: FontWeight.bold, color: Colors.black, fontSize: 20.0),
          ),
          actions: &lt;Widget&gt;[
            Padding(
              padding: const EdgeInsets.only(right: 20.0),
              child: Row(
                children: &lt;Widget&gt;[
                  GestureDetector(
                      onTap: () {
                        Provider.of&lt;CardBrandProvider&gt;(context, listen: false).clearCardBrand();
                        Provider.of&lt;Data&gt;(context, listen: false).selectedBrand = null;
                        Navigator.push(context, MaterialPageRoute(builder: (context) =&gt; AddCard()));
                      },
                      child: Row(
                        children: &lt;Widget&gt;[
                          Icon(
                            Icons.card_giftcard,
                            color: Colors.grey[600],
                            size: 28.0,
                          ),
                          Icon(
                            Icons.add,
                            size: 20.0,
                            color: Colors.black45,
                          ),
                        ],
                      )),
                ],
              ),
            )
          ],
          elevation: 1.0,
          centerTitle: true,
        ),
  
        body: CustomScrollView(
          slivers: [
            Provider.of&lt;CardProvider&gt;(context, listen: false).cards.isNotEmpty ?
            SliverToBoxAdapter(
              child: Padding(
                padding: const EdgeInsets.only(top: 20),
                child: Padding(
                  padding: const EdgeInsets.only(left: 30.0, right: 26.0),
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: &lt;Widget&gt;[
                      Text(
                        'Cards',
                        style: TextStyle(
                            fontSize: 17.0,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'Lato'),
                      ),
                      GestureDetector(
                        onTap: (){
                          isClicked = true;
                        },
                        child: Text(
                          'Edit',
                          style: TextStyle(
                              fontSize: 17.0,
                              fontWeight: FontWeight.w500,
                              color: Color.fromRGBO(129, 2, 2, 1),
                              fontFamily: 'Lato'),
                        ),
                      ),
                    ],
                  ),
                ),
              ),
            )
                :
            SliverToBoxAdapter(child: Container(),),
            SliverToBoxAdapter(
              child: SizedBox(
                height: 25,
              ),
            ),
            Container(
              child: SliverList(
                delegate: SliverChildBuilderDelegate(
                      (BuildContext context, int index) {
                    
                    var card = getCards(context)[index];
  
                    var id = card.Id;
  
                    return InkWell(
                      child: Padding(
                        padding: const EdgeInsets.only(top: 15, bottom: 15),
                        child: Column(
                          children: [
  
                            Container(
                              child: Slidable(
                                enabled: isClicked,
                                actionPane: SlidableDrawerActionPane(),
                                secondaryActions: &lt;Widget&gt;[
  
                                IconSlideAction(
                                  caption: 'Delete',
                                  color: Colors.red,
                                  icon: Icons.delete,
                                  onTap: () async {
  
                                    setState(() {
                                        showSpinner = true;                              
                                    });
  
                                    try{
                                      
                                      print('$id');
                                      setState(() {
                                        Provider.of&lt;Cards&gt;(context, listen: false).removeIndividualCard(index);
                                      });
  
                                    } catch(e){
                                      print(e);
                                      setState(() {
                                        showSpinner = true;                              
                                    });
                                    }
  
                                  }),
                                  ],
  
                                child: ListTile(
                                  title: Text('Username$index'),
                                  trailing: Icon(Icons.person),
                                ),
  
                              ),
                            ),
  
                          ],
                        ),
                      ),
                    );
                  },
                  childCount: 5,
                ),
             ],
        ),
      );
    }
  }
  </code></pre>