Flutter (48): Nested scrollable component NestedScrollView

Flutter (48): Nested scrollable component NestedScrollView

48.1 NestedScrollViewIn the previous section, we learned that CustomScrollView can only combine Slivers. If there are child components that are also scrollable (embedded through SliverToBoxAdapter) an···
Time: Views:226
Flutter (46): CustomScrollView and Slivers

Flutter (46): CustomScrollView and Slivers

46.1 CustomScrollViewPreviously introduced widgets like ListView, GridView, and PageView are all complete scrollable components. "Complete" means that they include Scrollable, Viewport, and ···
Time: Views:228
Flutter (44): Scrollable component child cache

Flutter (44): Scrollable component child cache

General Solution for Caching Specific Items in Scrollable WidgetsIn this section, we’ll introduce a general solution for caching specific items within scrollable widgets.First, let’s recall that whe···
Time: Views:225
Flutter (41):animated list

Flutter (41):animated list

AnimatedList and ListView have similar functionalities, but the key difference is that AnimatedList can perform animations when inserting or deleting items in the list. This feature enhances the user ···
Time: Views:244
Flutter (39): ListView Overview

Flutter (39): ListView Overview

ListView is one of the most commonly used scrollable widgets. It can arrange all child widgets linearly in one direction, and it also supports lazy loading of list items (only creating them when neede···
Time: Views:183
Flutter (37): Introduction to scrollable components

Flutter (37): Introduction to scrollable components

37.1 Sliver Layout ModelIn Section 4.2, we introduced that Flutter has two layout models:The box model layout based on RenderBox.The list layout based on Sliver (RenderSliver), which supports lazy loa···
Time: Views:252
Flutter (34): Clip

Flutter (34): Clip

34.1 Clipping WidgetsFlutter provides several clipping widgets to clip components:Clipping WidgetDefault BehaviorClipOvalClips a square child into a circle or a rectangular child into an ellipse.ClipR···
Time: Views:234
Flutter (32): Transform

Flutter (32): Transform

TransformTransform can apply matrix transformations to its child component when rendering, allowing for various visual effects. Matrix4 is a 4D matrix through which we can perform different matrix ope···
Time: Views:202
Flutter (30): Padding

Flutter (30): Padding

30.1 PaddingPadding allows adding spacing (or white space) to its child nodes, similar to the margin effect. We’ve already used it in many examples before, but now let’s take a closer look at its de···
Time: Views:200
Flutter (29): LayoutBuilder, AfterLayout

Flutter (29): LayoutBuilder, AfterLayout

29.1 LayoutBuilderWith LayoutBuilder, we can access the constraints information passed by the parent component during the layout process, allowing us to dynamically construct different layouts based o···
Time: Views:188