Recall & Review
beginner
What is a Sliver in Flutter?
A Sliver is a special scrollable area that can change size and shape as you scroll. It helps create custom scroll effects like collapsing headers or grids inside a scroll view.
Click to reveal answer
beginner
What does SliverList do?
SliverList displays a scrollable list of widgets arranged linearly. It works inside a CustomScrollView to create flexible scrolling lists.
Click to reveal answer
beginner
How is SliverGrid different from SliverList?
SliverGrid shows widgets in a grid layout inside a scrollable area, while SliverList shows them in a single column list.
Click to reveal answer
intermediate
What is the purpose of SliverAppBar?
SliverAppBar is a scrollable app bar that can expand, collapse, and float as you scroll. It creates dynamic headers that react to scrolling.
Click to reveal answer
intermediate
Why use CustomScrollView with slivers?
CustomScrollView lets you combine multiple slivers like SliverAppBar, SliverList, and SliverGrid to build complex scrolling layouts with smooth animations.
Click to reveal answer
Which widget allows you to create a scrollable list inside a CustomScrollView?
✗ Incorrect
SliverList is designed to create scrollable lists inside a CustomScrollView.
What does SliverAppBar do when you scroll up?
✗ Incorrect
SliverAppBar collapses or shrinks as you scroll up, creating a dynamic header effect.
Which sliver widget would you use to display items in a grid layout?
✗ Incorrect
SliverGrid arranges items in a grid inside a scrollable sliver.
What is the main advantage of using slivers in Flutter?
✗ Incorrect
Slivers let you create flexible and custom scroll effects like collapsing headers and grids.
Which widget do you combine with slivers to build a scrollable area?
✗ Incorrect
CustomScrollView is used to combine multiple slivers into one scrollable area.
Explain how SliverAppBar enhances the user experience in a scrolling app.
Think about how the app bar changes when you scroll.
You got /4 concepts.
Describe the difference between SliverList and SliverGrid and when you might use each.
Consider how items are arranged visually.
You got /4 concepts.