v1.0.14
statusbarz
背景に基づいてステータスバーの色を動的に変更するためのFlutterパッケージ。静的カラーと画像に対応しています。
69いいね 71930日間ダウンロード150Pub ポイント
AndroidiOSWebmacOSWindowsLinux
アプリ用の動的ステータスバー
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A Flutter package for dynamically changing status bar color based on the background. Can be set up to automatically change the color whenever the current route is changed. It is also possible to manually refresh the color.
Place StatusbarzCapturer above your MaterialApp widget:
void main() {
runApp(
StatusbarzCapturer(
child: MaterialApp(
home: Container(),
),
),
);
}
Now you can manually refresh status bar color by calling:
Statusbarz.instance.refresh();
Or alternatively you can refresh automatically when the current route changes. To do this, simply add Statusbarz.instance.observer to your MaterialApps navigatorObservers:
void main() {
runApp(
StatusbarzCapturer(
child: MaterialApp(
navigatorObservers: [Statusbarz.instance.observer],
home: Container(),
),
),
);
}
依存関係一覧 5 件
{"sdk":"flutter"}^4.0.0^5.6.0{"sdk":"flutter"}^1.1.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗