scroll_when_needed
Ein Paket, das uns ermöglicht, nur dann zu scrollen, wenn es erforderlich ist, mit dem korrekten plattformspezifischen Verhalten.
Ein Flutter-Paket, das uns nur dann scrollen lässt, wenn es nötig ist.
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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,
),
],
),
),
Abhängigkeiten 2 Einträge
{"sdk":"flutter"}{"sdk":"flutter"}Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗