• Latest
  • Hot
  • Ask
  • Full Apps
  • Ui
  • Packages
Ask October 16,2018

Set OnLongPressed event on Scaffold Flutter

Is there a way to set the OnLongPressed and OnPressed or OnTap events on a Scaffold using flutter?

Regards,


Solution 1: Andrey Turkovsky

Use GestureDetector - it has many parameters, e.g. onTap, onLongPress, etc.


Twitter Facebook Reddit Hacker News LinkedIn Email

Most Viewed

Netflix UI Clone Build with Flutter and BloC

GitJournal - Markdown Notes Build with Fluter

How to debug multiple widgets used the same GlobalKey

Sign in up takes so long time to load from firebase

Featured Articles

Catagories

  • Ask63292
  • Full Apps40
  • Ui5
  • Packages2
  • Game2
  • Template0
  • firebase
  • flutter
  • flutter-layout
  • flutter-listview
  • dart
  • android
  • webview
  • flutter-web
  • dropdown
  • json
  • database
  • api
  • server
  • maven
  • gradle
  • flutter-provider
  • permissions
  • android-studio
  • firebase-assistant
  • user-interface
  • deep-linking
  • flutter-hive
  • statefulwidget
  • dropdownbutton
  • xcode
  • sdk
  • android-mapview
  • mopub
  • firebase-authentication
  • visual-studio-code
  • animation
  • getter
  • provider
  • flutter-change-notifier
  • swift
  • swift5
  • flutter-dependencies
  • google-signin
  • flutterwebviewplugin
  • riverpod
  • flutter-image
  • google-cloud-firestore
  • flutter-animation
  • rxdart
  • widget
  • setstate
  • indexof
  • kotlin
  • bloc
  • Privacy Policy
  • Submit Project
© Copyright © All rights reserved
Licensed under cc by-sa 3.0 with attribution required.

Catagories

  • Ask
  • Full Apps
  • Ui
  • Packages

Join our Newsletter