v0.1.0
appbar_elevation
最初はボディとフラッシュされているAppBar用のFlutterウィジェットで、スクロール時に上に持ち上がる。
17いいね 5030日間ダウンロード40Pub ポイント
プラットフォーム情報なし
最初はボディとフラッシュし、スクロール時に浮き上がるAppBar用のFlutterウィジェット
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A Flutter Widget for an AppBar that is initially flush with the body and elevated when scrolled.

Use the ScrollActivatedAppBarElevation widget to wrap a Scaffold that contains
a Scrollable view (e.g. ListView, CustomScrollView). The widget uses a
NotificationListener to detect the scroll position and provides an
appBarElevation value to be used.
@override
Widget build(BuildContext context) {
return ScrollActivatedAppBarElevation(
builder: (BuildContext context, double appBarElevation) {
return Scaffold(
appBar: AppBar(
elevation: appBarElevation,
),
body: ListView(
children: [
// ...
],
),
);
},
);
}
See example for full code.
BSD
依存関係一覧 2 件
{"sdk":"flutter"}{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗