flutter_scrolling_fab_animated
0.1.5, released 3 years ago by ajomuch92.site
A floating action button that animates its size when scrolling down.
What it does
Provides a scrolling-aware floating action button that changes size and hides its text when scrolling down, and restores itself when returning to the top of a scrollable view. It supports custom icons, animation durations, curves, and long-press actions.
AI-written summary of version 0.1.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a floating action button that collapses or shrinks when users scroll down a ListView or GridView
- You want to save screen space while scrolling through long lists
Skip it when
- You are not using a scrollable widget with a ScrollController
- You require non-Material design floating action components
Strengths
- Easy to integrate with existing ScrollControllers
- Supports customizable animation duration, curves, and limits
- Includes features like ripple effects, long-press support, and icon animation
Weaknesses
- Limited to floating action button functionality
- Requires a ScrollController to function
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ScrollingFabAnimated(
icon: Icon(Icons.add, color: Colors.white),
text: Text('Add', style: TextStyle(color: Colors.white, fontSize: 16.0)),
onPress: (){},
scrollController: _scrollController,
animateIcon: true,
inverted: false,
radius: 10.0,
)Alternatives
Packages that do the same job and could replace flutter_scrolling_fab_animated.
- measure_size
Widget that reports its size changes via a callback.
58Compare - m3_floating_toolbar
A Material Design 3 floating pill-style toolbar widget for Flutter.
64Compare - rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare