scroll_sync_tabs 0.1.0 copy "scroll_sync_tabs: ^0.1.0" to clipboard
scroll_sync_tabs: ^0.1.0 copied to clipboard

Keep a TabBar and a scrollable list of sections in sync both ways - scrolling selects the tab, tapping a tab scrolls to the section.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add scroll_sync_tabs

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  scroll_sync_tabs: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:scroll_sync_tabs/scroll_sync_tabs.dart';
5
likes
160
points
33
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Keep a TabBar and a scrollable list of sections in sync both ways - scrolling selects the tab, tapping a tab scrolls to the section.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scroll_sync_tabs