scroll_when_needed

Last updated:

0 purchases

scroll_when_needed Image
scroll_when_needed Images
Add to Cart

Description:

scroll when needed

scroll_when_needed #

This packages contains a custom scrollbehavior and scroll physics that can be used to have platform specific scrolling behaviour when there is not enough space in a scrollable widget
How to use this package:
ScrollConfiguration(
behavior: ScrollWhenNeededBehavior(),
child: ListView(
physics: ScrollWhenNeededPhysics(targetPlatform: Theme.of(context).platform),
children: [
Container(
height: 100,
color: Colors.amber,
),
TextField(),
Container(
height: 300,
color: Colors.amber,
),
],
),
),
copied to clipboard

License:

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

Files In This Product:

Customer Reviews

There are no reviews.