v3.0.1
scroll_when_needed
必要な場合にのみスクロールできるようにし、正しいプラットフォーム固有の動作を提供するパッケージです。
21いいね 55530日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
必要に応じてスクロールできるようにするFlutterパッケージ。
以下は英語原文のスナップショットです。最新版は 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,
),
],
),
),
依存関係一覧 2 件
{"sdk":"flutter"}{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗