touch_mouse_behavior 0.0.1 copy "touch_mouse_behavior: ^0.0.1" to clipboard
touch_mouse_behavior: ^0.0.1 copied to clipboard

outdated

Scroll behavior to support both Touch and Mouse for web in scrollable widgets.

touch_mouse_behavior #

pub package

Scroll behavior to support both Touch and Mouse in web in scrollable widgets.

Usage #

To use this plugin, add touch_mouse_behavior as a dependency in your pubspec.yaml file.

dependencies:
  touch_mouse_behavior: ^lastVersion

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('!'),
              ]
            ),
          ),
        ),
      );
  }
}
15
likes
0
points
179
downloads

Publisher

verified publisherbuildtoapp.com

Weekly Downloads

Scroll behavior to support both Touch and Mouse for web in scrollable widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on touch_mouse_behavior