A new Flutter plugin allows widget response mouse press sigal in linux gtk.
To use this plugin, add drag_area
as a dependency in your pubspec.yaml file.
// Import package
import 'package:drag_area/drag_area.dart';
// How to use
DragArea(
child: FlutterLogo(
size: 100.0,
),
),