touch_mouse_behavior

Creator: coderz1093

Last updated:

0 purchases

touch_mouse_behavior Image
touch_mouse_behavior Images
Add to Cart

Description:

touch mouse behavior

touch_mouse_behavior #

Scroll behavior to support both Touch and Mouse in web and desktop (Windows, Macos, Linux) for scrollable widgets.
Usage #
To use this plugin, add touch_mouse_behavior as a dependency in your pubspec.yaml file.
dependencies:
touch_mouse_behavior: ^lastVersion
copied to clipboard
Example #
import 'package:touch_mouse_behavior/touch_mouse_behavior.dart';

class MyPage extends StatelessWidget {
const MyPage({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return Scaffold(
body: TouchMouseScrollable(
child: SingleChildScrollView(
child: Column(
children: [
Text('Hello'),
Text('World'),
Text('!'),
]
),
),
),
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.