FLUTTER ECOSYSTEM

draggable_float_widget

This is a draggable and floating Flutter widget, which can control its visibility through the scrolling event of ScrollView.

draggable_float_widget cover
Latest version
0.1.0
30-day downloads
301K
Likes
116
Pub points
150

Package Overview

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

Overview

A Flutter package that provides a draggable, floating widget capable of responding to scroll events by showing or hiding automatically. Ideal for creating interactive UI elements like floating action buttons or custom overlays that follow user scrolling behavior. The widget can be freely moved on screen and adapts its visibility based on the scroll direction and position within a ScrollView. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Floating action buttons in scrollable lists
  • Interactive overlays that respond to scrolling
  • Custom draggable UI components
  • Enhancing mobile app navigation
  • Dynamic UI elements in web applications
Key features
  • Draggable positioning
  • Scroll-triggered visibility control
  • Cross-platform compatibility
  • Smooth animation during drag
  • Configurable show/hide thresholds
  • Supports multiple platform targets
Suitable for
  • Developers building scroll-aware UIs
  • Mobile and web apps needing dynamic floating elements
  • Designers implementing gesture-based interactions
  • Apps with complex overlay requirements
  • Teams targeting multi-platform deployment
Considerations
  • May require performance tuning on large lists
  • Visibility logic might need customization for complex scroll behaviors
  • Limited built-in styling options
  • Not ideal for static floating elements
  • Requires careful handling in nested scroll views
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add draggable_float_widget

Categories

Source repository

Related projects