customizable_space_bar
0.2.0, released 6 years ago by bookm.me
AppBar widget that changes its content based on the scrolling rate to implement large titles.
What it does
Provides a customizable space bar widget for SliverAppBar that exposes a scrolling rate parameter. This allows developers to dynamically scale, position, and alter UI elements like text size and padding as the user scrolls.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to implement a 'Large Title' style collapsing app bar in Flutter.
- You need custom animations or layout changes inside an AppBar driven by scroll position.
Skip it when
- You are not using a CustomScrollView or SliverAppBar.
- You only need a standard static AppBar.
Strengths
- Provides a direct scrollingRate variable for fine-grained layout control.
- Integrates seamlessly with standard Flutter SliverAppBars.
Weaknesses
- Limited documentation beyond the basic README example.
- No advanced pre-built animations other than what you code via the builder.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CustomScrollView(
slivers: [
SliverAppBar(
pinned: true,
flexibleSpace: CustomizableSpaceBar(
builder: (context, scrollingRate) {
return Text("Hello World");
},
),
expandedHeight: 150,
),
],
)Alternatives
Packages that do the same job and could replace customizable_space_bar.
- flutter_in_app_pip
Provides in-app Picture-in-Picture support with customizable widget
54Compare - draw_your_image
A Flutter widget for creating customizable drawing canvases with a declarative API.
70Compare - we_slide
A Flutter widget implementing a backdrop displaying contextual and actionable content.
50Compare - coupon_uikit
A UI kit providing custom clippers and widgets to implement coupon card shapes.
59Compare