FLUTTER ECOSYSTEM

scrolls_to_top

A dart package for working with scrolls-to-top iOS feature. Easy to use

Latest version
2.1.1
30-day downloads
29.2K
Likes
59
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The scrolls_to_top package simplifies implementing the iOS scroll-to-top gesture in Flutter applications across multiple platforms. It enables developers to easily add and manage the pull-to-refresh-like behavior where scrolling up from the top of a scrollable widget triggers a scroll-to-top action. Designed with simplicity in mind, it integrates seamlessly into existing scrollable widgets without requiring complex setup. Ideal for apps aiming to replicate native iOS scroll behaviors on Android and other platforms.

Use cases
  • Implementing iOS-style scroll-to-top gestures
  • Enhancing user experience in scrollable lists
  • Adding platform-specific behaviors in cross-platform apps
  • Improving navigation in long content screens
  • Supporting consistent UX across iOS and non-iOS platforms
Key features
  • Simple integration with Scrollable widgets
  • Cross-platform compatibility
  • Minimal boilerplate code
  • Automatic handling of scroll-to-top logic
  • Configurable trigger thresholds
Suitable for
  • Developers targeting iOS-like interactions
  • Cross-platform app creators
  • UX-focused Flutter projects
  • Apps with long scrollable content
  • Teams prioritizing native feel on multiple platforms
Considerations
  • May require additional styling for visual feedback
  • Behavior might differ slightly on non-iOS platforms
  • Not needed for apps without scroll-to-top expectations
  • Limited customization beyond basic trigger settings
  • Best used in conjunction with RefreshIndicator for full functionality
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add scrolls_to_top

Categories

Source repository

Related projects