coordinator_layout

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

coordinator layout

coordinator_layout #

a Library contains widget/layout to handle collapsing header behavior

Example #
CoordinatorLayout(
maxHeight: 200,
minHeight: kToolbarHeight + MediaQuery.of(context).padding.top,
headers: [
SliverCollapsingHeader(
builder: (context, offset, diff) {
return ...;
},
),
],
body: Container(height: null, child: buildBody(context)),
),
copied to clipboard
Fit content
CoordinatorLayout(
headerMaxHeight: 200,
headerMinHeight: kToolbarHeight + MediaQuery.of(context).padding.top,
header:[
Builder(builder: (context) {
return SliverOverlapAbsorber(
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
sliver: SliverSafeArea(
top: false,
sliver: SliverCollapsingHeader(
builder: (context, offset, diff) {
return ...;
},
),
),
);
}),
],
body: Container(height: null, child: buildBody(context)),
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.