0 purchases
sliver transform
This is a Flutter widget to transform sliver widgets, the same way one would transform box widgets.
/// This example widget applies offset to the sliver under it.
final exampleWidget = CustomScrollView(
slivers: [
SliverTransform.translate(
offset: const Offset(0.0, 0.0),
sliver: SliverList(
delegate: SliverChildListDelegate.fixed([
Container(),
]),
),
),
],
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.