Flutter: Dissmissible widgets disable Tabview drag detection












2














I have two tabs, the left tab having a list of tiles and the right tab having nothing. The user can drag the screen from right-to-left or left-to-right to get from one tab to the other.
The left tab has a list of dismissible tiles that only have "direction: DismissDirection.startToEnd" (from left-to-right) enabled so that the user can still theoretically drag (from right-to-left) to go to the right tab.
However, I believe the Dismissible widget still receives the right-to-left drag information which is disabling the TabView drag to change tabs.



In essence, how do I allow the right-to-left drag to be detected by only the TabView and not the Dismissible item?



If an explicit solution/example with code snippets can be given, I would very very much appreciate the help!



Here's a paste for your main.dart file:



import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter/semantics.dart';

void main() {
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
runApp(new MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.dark(),
home: MainPage(),
);
}
}

class MainPage extends StatefulWidget {
@override
State<StatefulWidget> createState() => _MainPageState();
}

class _MainPageState extends State<MainPage>
with SingleTickerProviderStateMixin {
TabController _tabController;
@override
void initState() {
_tabController = TabController(vsync: this, length: 2, initialIndex: 1);
super.initState();
}

@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: Container(
color: Colors.black,
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
Expanded(
child: TabBarView(
controller: _tabController,
children: <Widget>[
TabWithSomething(),
TabWithNothing(),
],
),
),
],
),
),
),
);
}
}

class TabWithNothing extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: Container(
child: Text("Swipe from left-to-right!"),
),
);
}
}

class TabWithSomethingItem implements Comparable<TabWithSomethingItem> {
TabWithSomethingItem({this.index, this.name, this.subject, this.body});

TabWithSomethingItem.from(TabWithSomethingItem item)
: index = item.index,
name = item.name,
subject = item.subject,
body = item.body;

final int index;
final String name;
final String subject;
final String body;

@override
int compareTo(TabWithSomethingItem other) => index.compareTo(other.index);
}

class TabWithSomething extends StatefulWidget {
const TabWithSomething({Key key}) : super(key: key);

static const String routeName = '/material/leave-behind';

@override
TabWithSomethingState createState() => TabWithSomethingState();
}

class TabWithSomethingState extends State<TabWithSomething> {
List<TabWithSomethingItem> TabWithSomethingItems;

void initListItems() {
TabWithSomethingItems =
List<TabWithSomethingItem>.generate(10, (int index) {
return TabWithSomethingItem(
index: index,
name: 'Item $index',
subject: 'Swipe from left-to-right to delete',
body: "Swipe from right-to-left to go back to old tab");
});
}

@override
void initState() {
super.initState();
initListItems();
}

void _handleDelete(TabWithSomethingItem item) {
setState(() {
TabWithSomethingItems.remove(item);
});
}

@override
Widget build(BuildContext context) {
Widget body;
body = ListView(
children:
TabWithSomethingItems.map<Widget>((TabWithSomethingItem item) {
return _TabWithSomethingListItem(
item: item,
onDelete: _handleDelete,
dismissDirection: DismissDirection.startToEnd,
);
}).toList());

return body;
}
}

class _TabWithSomethingListItem extends StatelessWidget {
const _TabWithSomethingListItem({
Key key,
@required this.item,
@required this.onDelete,
@required this.dismissDirection,
}) : super(key: key);

final TabWithSomethingItem item;
final DismissDirection dismissDirection;
final void Function(TabWithSomethingItem) onDelete;

void _handleDelete() {
onDelete(item);
}

@override
Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context);
return Semantics(
customSemanticsActions: <CustomSemanticsAction, VoidCallback>{
const CustomSemanticsAction(label: 'Delete'): _handleDelete,
},
child: Dismissible(
key: ObjectKey(item),
direction: dismissDirection,
onDismissed: (DismissDirection direction) => _handleDelete(),
background: Container(
color: theme.primaryColor,
child: const ListTile(
leading: Icon(Icons.delete, color: Colors.white, size: 36.0))),
child: Container(
decoration: BoxDecoration(
color: theme.canvasColor,
border: Border(bottom: BorderSide(color: theme.dividerColor))),
child: ListTile(
title: Text(item.name),
subtitle: Text('${item.subject}n${item.body}'),
isThreeLine: true),
),
),
);
}
}


UPDATE:
I'm thinking we could change the "dismissible.dart" file to change the "TabControlller", but i'm not sure how I might do that.



In the "dismissible.dart" file:



...
void _handleDragUpdate(DragUpdateDetails details) {
if (!_isActive || _moveController.isAnimating)
return;

final double delta = details.primaryDelta;

if (delta < 0) print(delta); // thinking of doing something here
...









share|improve this question





























    2














    I have two tabs, the left tab having a list of tiles and the right tab having nothing. The user can drag the screen from right-to-left or left-to-right to get from one tab to the other.
    The left tab has a list of dismissible tiles that only have "direction: DismissDirection.startToEnd" (from left-to-right) enabled so that the user can still theoretically drag (from right-to-left) to go to the right tab.
    However, I believe the Dismissible widget still receives the right-to-left drag information which is disabling the TabView drag to change tabs.



    In essence, how do I allow the right-to-left drag to be detected by only the TabView and not the Dismissible item?



    If an explicit solution/example with code snippets can be given, I would very very much appreciate the help!



    Here's a paste for your main.dart file:



    import 'package:flutter/material.dart';
    import 'package:flutter/services.dart';
    import 'package:flutter/semantics.dart';

    void main() {
    SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
    ]);
    runApp(new MyApp());
    }

    class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
    return MaterialApp(
    theme: ThemeData.dark(),
    home: MainPage(),
    );
    }
    }

    class MainPage extends StatefulWidget {
    @override
    State<StatefulWidget> createState() => _MainPageState();
    }

    class _MainPageState extends State<MainPage>
    with SingleTickerProviderStateMixin {
    TabController _tabController;
    @override
    void initState() {
    _tabController = TabController(vsync: this, length: 2, initialIndex: 1);
    super.initState();
    }

    @override
    Widget build(BuildContext context) {
    return Scaffold(
    body: SafeArea(
    child: Container(
    color: Colors.black,
    child: Column(
    crossAxisAlignment: CrossAxisAlignment.stretch,
    mainAxisAlignment: MainAxisAlignment.start,
    children: <Widget>[
    Expanded(
    child: TabBarView(
    controller: _tabController,
    children: <Widget>[
    TabWithSomething(),
    TabWithNothing(),
    ],
    ),
    ),
    ],
    ),
    ),
    ),
    );
    }
    }

    class TabWithNothing extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
    return Center(
    child: Container(
    child: Text("Swipe from left-to-right!"),
    ),
    );
    }
    }

    class TabWithSomethingItem implements Comparable<TabWithSomethingItem> {
    TabWithSomethingItem({this.index, this.name, this.subject, this.body});

    TabWithSomethingItem.from(TabWithSomethingItem item)
    : index = item.index,
    name = item.name,
    subject = item.subject,
    body = item.body;

    final int index;
    final String name;
    final String subject;
    final String body;

    @override
    int compareTo(TabWithSomethingItem other) => index.compareTo(other.index);
    }

    class TabWithSomething extends StatefulWidget {
    const TabWithSomething({Key key}) : super(key: key);

    static const String routeName = '/material/leave-behind';

    @override
    TabWithSomethingState createState() => TabWithSomethingState();
    }

    class TabWithSomethingState extends State<TabWithSomething> {
    List<TabWithSomethingItem> TabWithSomethingItems;

    void initListItems() {
    TabWithSomethingItems =
    List<TabWithSomethingItem>.generate(10, (int index) {
    return TabWithSomethingItem(
    index: index,
    name: 'Item $index',
    subject: 'Swipe from left-to-right to delete',
    body: "Swipe from right-to-left to go back to old tab");
    });
    }

    @override
    void initState() {
    super.initState();
    initListItems();
    }

    void _handleDelete(TabWithSomethingItem item) {
    setState(() {
    TabWithSomethingItems.remove(item);
    });
    }

    @override
    Widget build(BuildContext context) {
    Widget body;
    body = ListView(
    children:
    TabWithSomethingItems.map<Widget>((TabWithSomethingItem item) {
    return _TabWithSomethingListItem(
    item: item,
    onDelete: _handleDelete,
    dismissDirection: DismissDirection.startToEnd,
    );
    }).toList());

    return body;
    }
    }

    class _TabWithSomethingListItem extends StatelessWidget {
    const _TabWithSomethingListItem({
    Key key,
    @required this.item,
    @required this.onDelete,
    @required this.dismissDirection,
    }) : super(key: key);

    final TabWithSomethingItem item;
    final DismissDirection dismissDirection;
    final void Function(TabWithSomethingItem) onDelete;

    void _handleDelete() {
    onDelete(item);
    }

    @override
    Widget build(BuildContext context) {
    final ThemeData theme = Theme.of(context);
    return Semantics(
    customSemanticsActions: <CustomSemanticsAction, VoidCallback>{
    const CustomSemanticsAction(label: 'Delete'): _handleDelete,
    },
    child: Dismissible(
    key: ObjectKey(item),
    direction: dismissDirection,
    onDismissed: (DismissDirection direction) => _handleDelete(),
    background: Container(
    color: theme.primaryColor,
    child: const ListTile(
    leading: Icon(Icons.delete, color: Colors.white, size: 36.0))),
    child: Container(
    decoration: BoxDecoration(
    color: theme.canvasColor,
    border: Border(bottom: BorderSide(color: theme.dividerColor))),
    child: ListTile(
    title: Text(item.name),
    subtitle: Text('${item.subject}n${item.body}'),
    isThreeLine: true),
    ),
    ),
    );
    }
    }


    UPDATE:
    I'm thinking we could change the "dismissible.dart" file to change the "TabControlller", but i'm not sure how I might do that.



    In the "dismissible.dart" file:



    ...
    void _handleDragUpdate(DragUpdateDetails details) {
    if (!_isActive || _moveController.isAnimating)
    return;

    final double delta = details.primaryDelta;

    if (delta < 0) print(delta); // thinking of doing something here
    ...









    share|improve this question



























      2












      2








      2







      I have two tabs, the left tab having a list of tiles and the right tab having nothing. The user can drag the screen from right-to-left or left-to-right to get from one tab to the other.
      The left tab has a list of dismissible tiles that only have "direction: DismissDirection.startToEnd" (from left-to-right) enabled so that the user can still theoretically drag (from right-to-left) to go to the right tab.
      However, I believe the Dismissible widget still receives the right-to-left drag information which is disabling the TabView drag to change tabs.



      In essence, how do I allow the right-to-left drag to be detected by only the TabView and not the Dismissible item?



      If an explicit solution/example with code snippets can be given, I would very very much appreciate the help!



      Here's a paste for your main.dart file:



      import 'package:flutter/material.dart';
      import 'package:flutter/services.dart';
      import 'package:flutter/semantics.dart';

      void main() {
      SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitUp,
      DeviceOrientation.portraitDown,
      ]);
      runApp(new MyApp());
      }

      class MyApp extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
      return MaterialApp(
      theme: ThemeData.dark(),
      home: MainPage(),
      );
      }
      }

      class MainPage extends StatefulWidget {
      @override
      State<StatefulWidget> createState() => _MainPageState();
      }

      class _MainPageState extends State<MainPage>
      with SingleTickerProviderStateMixin {
      TabController _tabController;
      @override
      void initState() {
      _tabController = TabController(vsync: this, length: 2, initialIndex: 1);
      super.initState();
      }

      @override
      Widget build(BuildContext context) {
      return Scaffold(
      body: SafeArea(
      child: Container(
      color: Colors.black,
      child: Column(
      crossAxisAlignment: CrossAxisAlignment.stretch,
      mainAxisAlignment: MainAxisAlignment.start,
      children: <Widget>[
      Expanded(
      child: TabBarView(
      controller: _tabController,
      children: <Widget>[
      TabWithSomething(),
      TabWithNothing(),
      ],
      ),
      ),
      ],
      ),
      ),
      ),
      );
      }
      }

      class TabWithNothing extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
      return Center(
      child: Container(
      child: Text("Swipe from left-to-right!"),
      ),
      );
      }
      }

      class TabWithSomethingItem implements Comparable<TabWithSomethingItem> {
      TabWithSomethingItem({this.index, this.name, this.subject, this.body});

      TabWithSomethingItem.from(TabWithSomethingItem item)
      : index = item.index,
      name = item.name,
      subject = item.subject,
      body = item.body;

      final int index;
      final String name;
      final String subject;
      final String body;

      @override
      int compareTo(TabWithSomethingItem other) => index.compareTo(other.index);
      }

      class TabWithSomething extends StatefulWidget {
      const TabWithSomething({Key key}) : super(key: key);

      static const String routeName = '/material/leave-behind';

      @override
      TabWithSomethingState createState() => TabWithSomethingState();
      }

      class TabWithSomethingState extends State<TabWithSomething> {
      List<TabWithSomethingItem> TabWithSomethingItems;

      void initListItems() {
      TabWithSomethingItems =
      List<TabWithSomethingItem>.generate(10, (int index) {
      return TabWithSomethingItem(
      index: index,
      name: 'Item $index',
      subject: 'Swipe from left-to-right to delete',
      body: "Swipe from right-to-left to go back to old tab");
      });
      }

      @override
      void initState() {
      super.initState();
      initListItems();
      }

      void _handleDelete(TabWithSomethingItem item) {
      setState(() {
      TabWithSomethingItems.remove(item);
      });
      }

      @override
      Widget build(BuildContext context) {
      Widget body;
      body = ListView(
      children:
      TabWithSomethingItems.map<Widget>((TabWithSomethingItem item) {
      return _TabWithSomethingListItem(
      item: item,
      onDelete: _handleDelete,
      dismissDirection: DismissDirection.startToEnd,
      );
      }).toList());

      return body;
      }
      }

      class _TabWithSomethingListItem extends StatelessWidget {
      const _TabWithSomethingListItem({
      Key key,
      @required this.item,
      @required this.onDelete,
      @required this.dismissDirection,
      }) : super(key: key);

      final TabWithSomethingItem item;
      final DismissDirection dismissDirection;
      final void Function(TabWithSomethingItem) onDelete;

      void _handleDelete() {
      onDelete(item);
      }

      @override
      Widget build(BuildContext context) {
      final ThemeData theme = Theme.of(context);
      return Semantics(
      customSemanticsActions: <CustomSemanticsAction, VoidCallback>{
      const CustomSemanticsAction(label: 'Delete'): _handleDelete,
      },
      child: Dismissible(
      key: ObjectKey(item),
      direction: dismissDirection,
      onDismissed: (DismissDirection direction) => _handleDelete(),
      background: Container(
      color: theme.primaryColor,
      child: const ListTile(
      leading: Icon(Icons.delete, color: Colors.white, size: 36.0))),
      child: Container(
      decoration: BoxDecoration(
      color: theme.canvasColor,
      border: Border(bottom: BorderSide(color: theme.dividerColor))),
      child: ListTile(
      title: Text(item.name),
      subtitle: Text('${item.subject}n${item.body}'),
      isThreeLine: true),
      ),
      ),
      );
      }
      }


      UPDATE:
      I'm thinking we could change the "dismissible.dart" file to change the "TabControlller", but i'm not sure how I might do that.



      In the "dismissible.dart" file:



      ...
      void _handleDragUpdate(DragUpdateDetails details) {
      if (!_isActive || _moveController.isAnimating)
      return;

      final double delta = details.primaryDelta;

      if (delta < 0) print(delta); // thinking of doing something here
      ...









      share|improve this question















      I have two tabs, the left tab having a list of tiles and the right tab having nothing. The user can drag the screen from right-to-left or left-to-right to get from one tab to the other.
      The left tab has a list of dismissible tiles that only have "direction: DismissDirection.startToEnd" (from left-to-right) enabled so that the user can still theoretically drag (from right-to-left) to go to the right tab.
      However, I believe the Dismissible widget still receives the right-to-left drag information which is disabling the TabView drag to change tabs.



      In essence, how do I allow the right-to-left drag to be detected by only the TabView and not the Dismissible item?



      If an explicit solution/example with code snippets can be given, I would very very much appreciate the help!



      Here's a paste for your main.dart file:



      import 'package:flutter/material.dart';
      import 'package:flutter/services.dart';
      import 'package:flutter/semantics.dart';

      void main() {
      SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitUp,
      DeviceOrientation.portraitDown,
      ]);
      runApp(new MyApp());
      }

      class MyApp extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
      return MaterialApp(
      theme: ThemeData.dark(),
      home: MainPage(),
      );
      }
      }

      class MainPage extends StatefulWidget {
      @override
      State<StatefulWidget> createState() => _MainPageState();
      }

      class _MainPageState extends State<MainPage>
      with SingleTickerProviderStateMixin {
      TabController _tabController;
      @override
      void initState() {
      _tabController = TabController(vsync: this, length: 2, initialIndex: 1);
      super.initState();
      }

      @override
      Widget build(BuildContext context) {
      return Scaffold(
      body: SafeArea(
      child: Container(
      color: Colors.black,
      child: Column(
      crossAxisAlignment: CrossAxisAlignment.stretch,
      mainAxisAlignment: MainAxisAlignment.start,
      children: <Widget>[
      Expanded(
      child: TabBarView(
      controller: _tabController,
      children: <Widget>[
      TabWithSomething(),
      TabWithNothing(),
      ],
      ),
      ),
      ],
      ),
      ),
      ),
      );
      }
      }

      class TabWithNothing extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
      return Center(
      child: Container(
      child: Text("Swipe from left-to-right!"),
      ),
      );
      }
      }

      class TabWithSomethingItem implements Comparable<TabWithSomethingItem> {
      TabWithSomethingItem({this.index, this.name, this.subject, this.body});

      TabWithSomethingItem.from(TabWithSomethingItem item)
      : index = item.index,
      name = item.name,
      subject = item.subject,
      body = item.body;

      final int index;
      final String name;
      final String subject;
      final String body;

      @override
      int compareTo(TabWithSomethingItem other) => index.compareTo(other.index);
      }

      class TabWithSomething extends StatefulWidget {
      const TabWithSomething({Key key}) : super(key: key);

      static const String routeName = '/material/leave-behind';

      @override
      TabWithSomethingState createState() => TabWithSomethingState();
      }

      class TabWithSomethingState extends State<TabWithSomething> {
      List<TabWithSomethingItem> TabWithSomethingItems;

      void initListItems() {
      TabWithSomethingItems =
      List<TabWithSomethingItem>.generate(10, (int index) {
      return TabWithSomethingItem(
      index: index,
      name: 'Item $index',
      subject: 'Swipe from left-to-right to delete',
      body: "Swipe from right-to-left to go back to old tab");
      });
      }

      @override
      void initState() {
      super.initState();
      initListItems();
      }

      void _handleDelete(TabWithSomethingItem item) {
      setState(() {
      TabWithSomethingItems.remove(item);
      });
      }

      @override
      Widget build(BuildContext context) {
      Widget body;
      body = ListView(
      children:
      TabWithSomethingItems.map<Widget>((TabWithSomethingItem item) {
      return _TabWithSomethingListItem(
      item: item,
      onDelete: _handleDelete,
      dismissDirection: DismissDirection.startToEnd,
      );
      }).toList());

      return body;
      }
      }

      class _TabWithSomethingListItem extends StatelessWidget {
      const _TabWithSomethingListItem({
      Key key,
      @required this.item,
      @required this.onDelete,
      @required this.dismissDirection,
      }) : super(key: key);

      final TabWithSomethingItem item;
      final DismissDirection dismissDirection;
      final void Function(TabWithSomethingItem) onDelete;

      void _handleDelete() {
      onDelete(item);
      }

      @override
      Widget build(BuildContext context) {
      final ThemeData theme = Theme.of(context);
      return Semantics(
      customSemanticsActions: <CustomSemanticsAction, VoidCallback>{
      const CustomSemanticsAction(label: 'Delete'): _handleDelete,
      },
      child: Dismissible(
      key: ObjectKey(item),
      direction: dismissDirection,
      onDismissed: (DismissDirection direction) => _handleDelete(),
      background: Container(
      color: theme.primaryColor,
      child: const ListTile(
      leading: Icon(Icons.delete, color: Colors.white, size: 36.0))),
      child: Container(
      decoration: BoxDecoration(
      color: theme.canvasColor,
      border: Border(bottom: BorderSide(color: theme.dividerColor))),
      child: ListTile(
      title: Text(item.name),
      subtitle: Text('${item.subject}n${item.body}'),
      isThreeLine: true),
      ),
      ),
      );
      }
      }


      UPDATE:
      I'm thinking we could change the "dismissible.dart" file to change the "TabControlller", but i'm not sure how I might do that.



      In the "dismissible.dart" file:



      ...
      void _handleDragUpdate(DragUpdateDetails details) {
      if (!_isActive || _moveController.isAnimating)
      return;

      final double delta = details.primaryDelta;

      if (delta < 0) print(delta); // thinking of doing something here
      ...






      flutter drag tabview






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 19:09

























      asked Nov 12 at 0:15









      Johnny Boy

      956




      956





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254548%2fflutter-dissmissible-widgets-disable-tabview-drag-detection%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254548%2fflutter-dissmissible-widgets-disable-tabview-drag-detection%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Florida Star v. B. J. F.

          Error while running script in elastic search , gateway timeout

          Adding quotations to stringified JSON object values