left_scroll_actions 1.1.0 copy "left_scroll_actions: ^1.1.0" to clipboard
left_scroll_actions: ^1.1.0 copied to clipboard

outdated

A simple use left-scroll-actions widget like WeChat. Slide to left and you can see buttons.

left_scroll_actions #

A useful left scroll actions widget like WeChat.

一款仿微信效果的 Flutter 左滑菜单插件。

Example

Install #

Add this to your package's pubspec.yaml file: 把如下字段加入你的pubspec.yaml文件:

dependencies:
  flutter:
    sdk: flutter
  // 添加下面这一行
  left_scroll_actions: any

然后运行flutter packages get即可

Usage #

  LeftScroll(
    buttonWidth: 80,
    child: Container(
      height: 60,
      color: Colors.white,
      alignment: Alignment.center,
      child: Text('👈 Try Scroll Left'),
    ),
    buttons: <Widget>[
      LeftScrollItem(
        text: 'delete',
        color: Colors.red,
        onTap: () {
          print('delete');
        },
      ),
    ],
    onTap: () {
      print('tap row');
    },
  );

See:

Example

Example

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

28
likes
0
pub points
84%
popularity

Publisher

verified publisherfluttercandies.com

A simple use left-scroll-actions widget like WeChat. Slide to left and you can see buttons.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on left_scroll_actions